Tribler / tribler

Privacy enhanced BitTorrent client with P2P content discovery
https://www.tribler.org
GNU General Public License v3.0
4.75k stars 445 forks source link

Blockchain Engineering - class of 2022 - Team Digital Euro II #6784

Closed synctext closed 2 years ago

synctext commented 2 years ago

Project description: Your task is to {partly} realise a new blockchain-based digital Euro. Delft university has obtained permission to experiment with real digital Euros and live connection to the IBAN bank account system. You can build on this existing open source code. Reading: European Central Bank report on digital Euro, digital Euro master thesis at Delft, the progress report by China Central Bank who is at least five years ahead of Europe. You are free to set your own target feature to focus on, for instance, high transaction rate, offline support, ease of use, etc.

Approach: You will either extend our EuroToken implementation with new functionality, or improve existing functionality. The target feature(s) will be chosen depending on your expertise and interests. Suggestions/ideas are very much appreciated! Please make weekly updates of your progress on this ticket (e.g., with a screenshot). The expected deliverables are:

Possible project direction (subject to discussion next meeting): Bitcoin-backed EuroTokens. Currently, EuroTokens are backed by Euro in the central bank network. Your project involves extending support for Bitcoin-backed EuroToken. You will have to modify the Bitcoin mining parameters, set up a private Bitcoin network, and mine some Bitcoin. These Bitcoins can be sent to a validator and exchanged for EuroToken. Give each user 10 EuroToken when joining the app.

References:

ToDo:

synctext commented 2 years ago

https://www.dnb.nl/actueel/algemeen-nieuws/dnbulletin-2018/dnb-experimenteert-met-blockchain/ related work: https://www.google.com/search?q=m+cbdc cashless society, that is the future. Problem: what to do when Internet fails? No Internet == No money. Offline support, double spending, or unlimited debt creation. Offline amount cap?

Can the problem actually be solved. Just take the business risk for disasters? Offline Euro details brainstorm: https://github.com/Tribler/tribler/issues/6785#issuecomment-1048622275 Also a perfect outcome, with no impact on your grade: make an offline Euro implementation, builtin some countermeasures, show that these are utterly useless and that the security problem is impossible to solve. We+you also learned something.

Problem example : Having your harvest and fishing boats destroyed by a volcano is bad enough, but not being able to access money to buy food makes it a lot worse

dlieuwasoe commented 2 years ago

Planning (milestones per week)

Week 5:

Week 6:

Week 7:

Week 8:

Week 9:

Week 10:

synctext commented 2 years ago

Digital Cash

Possible decision: receiving party is in control and does most of the risk assessment; decides to accept or reject proposed transaction. Possible scope of disaster: "100.000 mensen verliezen hun huis en bezittingen". Current code conducts check at hardcoded central gateway. These are offline (for legal reasons..), so money can not be spent. Outcome of the course: merged pull request. Prefer to extend existing work, forking an existing app within superapp needs to be motivated. The superapp has lots of technical depth, agreed :heavy_check_mark: You can also spent time on code coverage and testing. Extensive design space analysis of the double spending problem, maximum 4-5 .md pages. Use secure element computation inside SIM? https://www.thalesgroup.com/en/markets/digital-identity-and-security/mobile/secure-elements Fun SIM card information extraction. Info from stackoverflow

leondeklerk commented 2 years ago
leondeklerk commented 2 years ago

EuroToken Exchange

Made the EuroToken exchange workable and runnable again. Making sure that you can run this as before you needed undocumented documentation. Fixed various minor issues as well (crashing edge cases). Added documentation on how to run the exchange docker/manually.

synctext commented 2 years ago
leondeklerk commented 2 years ago

Repo

Exchange

synctext commented 2 years ago
leondeklerk commented 2 years ago

Trust score

Offline payments

leondeklerk commented 2 years ago

apk

dlieuwasoe commented 2 years ago

Paying with unverified tokens

synctext commented 2 years ago

Feedback, just before wrapping up this 10 week course.

leondeklerk commented 2 years ago

apk

leondeklerk commented 2 years ago

Updated ConfIDapp level README

devos50 commented 2 years ago

This work has been completed, closing the issue 👍