Tribler / tribler

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

[Software Project 2019/2020] Extending the support for cryptocurrencies in our blockchain-based decentralized exchange #5293

Closed devos50 closed 4 years ago

devos50 commented 4 years ago

This issue hosts references and discussion related to the software project we added to ProjectForum, starting April 20.

Description in ProjectForum

The Delft Blockchain Lab (DBL) is TU Delft’s initiative for research, education, and training in blockchain technology and trust in the internet. Our research heavily focusses on improving the efficiency of blockchains, self-sovereign identities and blockchain-powered marketplaces.

Online marketplaces are an essential part of of daily lives and are used by billions of people to trade services, resources or assets. Oftentimes, these marketplaces are controllected by a single operator. A recent development is blockchain-based marketplaces, where all trading activity is conducted on a blockchain. Such marketplaces, also called Decentralized Exchanges (DEXes), do not require a single operator in stark contrast to most existing online marketplaces. Instead, a DEX is secured by the collective effort of participating traders. Notable examples of DEXes are Waves, BitShares and EtherDelta.

The Delft Blockchain Lab has designed, engineered and evaluated its own decentralized exchange, called AnyDex. AnyDex enables secure trade of any digital asset, service or resource, and is open source. It uses a lightweight blockchain to record all trading activity. Since all trade is recorded, fraud can easily be detected and punished. More technical information can be found in our paper, which is currently under review (shared upon request).

Problem description

AnyDex currently supports trading Bitcoin with bandwidth tokens, a digital currency used by our file sharing platform Tribler. For our Bitcoin wallet, we use bitcoinlib, an open-source Python library to manage wallets and interact with nodes to in the Bitcoin network to transfer funds to others. Recently, the author of bitcoinlib made changes that broke compatibility with AnyDex. For our upcoming large-scale deployment of AnyDex, it is critical that this incompatibility is fixed. Fixing this incompatibility would be the first major goal of the project.

Once compatibility with the bitcoinlib library is fixed, you should explore possibilities to add support for more cryptocurrencies in AnyDex, e.g., Ethereum or BitShares assets. We recommend to stick to cryptocurrencies with relative larger support amongst the cryptocurrency communities, since they are more likely to provide actively maintained (Python) libraries.

Since AnyDex (and bitcoinlib) is written in Python, it is helpful if students have prior knowledge of the Python 3 programming language.

Related issue: https://github.com/Tribler/anydex-core/issues/25

devos50 commented 4 years ago

Kick-off meeting (April 20):

Next meeting: April 27, 10:00

devos50 commented 4 years ago

Meeting April 27:

Next meeting: May 4, 13:30

devos50 commented 4 years ago

The project has finished: https://github.com/Tribler/anydex-core/pull/44