Tribler / tribler

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

Blockchain Engineering Class of 2020: Delft-DAO - Create your own currency (Team II) #5144

Closed synctext closed 3 years ago

synctext commented 4 years ago

Delft-DAO

What is a DAO? Within the coming decade the future of jobs, employment and the nature of the firm will change profoundly. Automation, AI, and robots will replace many of today's jobs. A new type of company is a company without any employees, without any machines or physical infrastructure. A Decentralized Autonomous Organizations, DAO, only exists in software. It goes beyond smart contracts, it is a complete company inside software. DAO development is still in the experimental stage.

Within this course you can create your very own autonomous organisation, the Delft-DAO. Learn to engineer a decentralised autonomous organisation, use the existing tools, and understand the security risks. The aim is to alter the nature of the firm in the Internet age, see the Nobel prize winning theory. Production cost become essentially cost-free. An organisation which exists purely in cyberspace. The Delft-DAO is designed to be the first sustainable DAO. How can we empower leaderless organizations? How can it earn money from manipulating bits?

Advisor: J.A. Pouwelse, TUDelft blockchain lab founder (weekly meetings on Wednesdays)

Several teams from the class will create running code (requirements for a passing grade..) for one of the following functionalities. Four teams together create the building blocks of the complete Delft-DAO (time consuming integration step is outside our scope).

Create your own currency First step of building a DAO is creating money. This enables the Delft-DAO micro-economy. Mark Zuckerberg is creating his own currency for a few billion users, called "Facebook Libra". For this assignment you will also create your own currency in 10 weeks, almost from scratch! Obviously security and usability is somewhat limited. You will investigate methods for minting and transfer of tokens. You will designate yourself as "trusted nodes", able to generate cash. Mandatory starting point for your code is this Kotlin app

Team II

synctext commented 4 years ago

@invictusrmc @brian2509 @mkuijpers @pjvanderlaan Welcome to the course! Sprint proposal divided on team of 4 students :

Future sprint ideas:

rwblokzijl commented 4 years ago

Related:

MKuijpers commented 4 years ago

We would like to tell what we have done last week and what questions we have for the current meeting.

Done this week:

Questions:

PJvanderLaan commented 4 years ago

This week's APK file

demo-android-debug.apk.zip

synctext commented 4 years ago

Next sprint comments:

PJvanderLaan commented 4 years ago

Initial design idea for the next sprint (not very specific):

Onboarding

Transaction

Known issues that are ignored (for now)

synctext commented 4 years ago

good stuff! btw Please simplify as much as possible. Like, 'genesis' user determines the DAO-capital-fee, the fixed amount of Bitcoin that represents a single fixed vote. Be inspired by others (e.g. rip existing code): https://github.com/anders94/bitcoin-2-of-3-multisig

MattSkala commented 4 years ago

For integrating work of all teams with the existing codebase, we have decided to take the super app approach. To separate IPv8 library from the app, we have moved demo-android app from kotlin-ipv8 to trustchain-superapp repository. Please create a module for your app and add a link to the dashboard according to the provided tutorial. When you feel ready (in the upcoming weeks), you can create a pull request with your contribution.

InvictusRMC commented 4 years ago

Progress update:

APK:

demo-android-debug.apk.zip

Screenshot:

synctext commented 4 years ago

Sprint feedback:

InvictusRMC commented 4 years ago

We're running into a minor issue:

image

Bitcoin's transaction fees are quite high, meaning that we can perform "merely" up to 150 transactions before we run out of funds. Something to keep in mind.

synctext commented 4 years ago

No problem, TUDelft has .73 dollar to spend on science :smile:

synctext commented 4 years ago

Actually, the latest info I got is that your script is likely to be huge and cost at least $10 per transaction.. Industry expert: you probably need a week to compress it, once you have it working.

PJvanderLaan commented 4 years ago

Progress update

UI/Trustchain:

Bitcoin:

APK

(still not integrated in the superapp) demo-android-debug.apk.zip

Screenshots

synctext commented 4 years ago

Sprint progress:

PJvanderLaan commented 4 years ago

Done this week (2020-03-18 - 2020-03-25)

Example multisig transaction:

(With an entrance fee of 10.000 satoshi)

Create wallet as the first person. zHeLWRUv1jJn6ciWYMjJrPxv6Gg96US6Fz is the shared wallet address. Transaction

Add the first person. zHeLWRUv1jJn6ciWYMjJrPxv6Gg96US6Fz now has 20.000 satoshi inside it. Transaction

Make payment to another address. Pay 1000 to mo4nNbGVfJGozjtD9ViXvcgW1fjq9stdzd from the shared wallet. Transaction

synctext commented 4 years ago

Sprint progress:

InvictusRMC commented 4 years ago

Progress last week (25-03-2020 - 01-04-2020)

Super app fork:

https://github.com/InvictusRMC/trustchain-superapp/

Documentation

https://github.com/MKuijpers/kotlin-ipv8/pull/22

Progress

synctext commented 4 years ago
PJvanderLaan commented 4 years ago

This week's progress:

MKuijpers commented 4 years ago

This weeks apk: app-debug.zip

Note: there are some navgraph conflicts causing some navigation to not be behaving as planned

synctext commented 4 years ago

Sprint progress:

synctext commented 4 years ago

Sprint progress:

PJvanderLaan commented 4 years ago

This week's progress

app-debug.apk.zip

InvictusRMC commented 4 years ago

Progress

app-debug.zip

synctext commented 4 years ago

near final sprint comments:

brian2509 commented 4 years ago

The main final documentation file in our folder README.md has been created with details about the protocol, structure, and issues. As well as an additional section in the main README.md.

InvictusRMC commented 4 years ago

Final Release

app-debug.zip