Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Alternative blockchains, randomness, economics, and other research topics
- Alternative blockchain/consensus protocol projects
Context: full PoS with Casper CBC and sharding will require a verifiable randomness function that is secure and decentralized, in order to randomly select and assign validators, shuffle notaries, and select collation/block proposers. Such a VRF is an ongoing topic of research, and is yet to be specified and implemented.
- Sharding Fork Choice rule PoC with RANDAO and more info, 2018 May 1
- Vitalik's blog post on Randomness with RANDAO preferred
- RANDAO++ plus an implementation of it with RNGesus
- A random beacon as used by Dfinity although note that BLS is prone to 51% attacks while RANDAO++ isn't.
- James' tweet thread analysing Dfinity's BLS randomness beacon in comparison to RANDAO.
- ethresear.ch post: PoSW random beacon. Here is a critique by Vitalik on Gitter.
- the blockhash, generated via PoW, e.g. Ethash. You could use the blockhash as a preimage to hash functions e.g. in RANDAO.
- RANDAO exploitability analysis results
Alternative blockchain/consensus protocol projects
Alternative approaches to scaling other than sharding include state channels, side chains, multi-chains and off-chain computation. Projects are included here in this summary spreadsheet by the Web3 Foundation. Parity Substrate is another project. Other designs and sources of inspiration include:
- projects related to relaying transactions
- storage incentivization projects
- Dfinity, uses a random beacon chain and notaries, which Ethereum plans to implement, although the randomness source may be RANDAO instead of BLS aggregate signatures.
- Truebit interactive verification off-chain protocol for Ethereum.
Potential sources of inspiration / other projects include:
- PHANTOM and SPECTRE, alternative DAG designs
- Cardano: uses sidechains for scaling
- RChain: aims to support scalable, mission-critical projects, without enforcing a strict total order on all transactions in the blockchain (which poses problems around consensus, double-spending, etc.)
- plus a lot more inspiration from research literature.
Team Rocket with Snowflake to Avalanche
Snowflake to Avalanche: A Novel Metastable Consensus Protocol Family for Cryptocurrencies: it's a probabilistic Byzantine fault tolerant (BFT) consensus protocol that is synchronous on paper, but has been developed on a real internet (which is partially synchronous at best).
Ziliqa: a PoW sharded architecture consisting of a dataflow smart contract layer, and 5 other layers. Uses the EC-Schnorr multiginature signature scheme. However, RANDAO is preferable to aggregate/multisignature schemes since it is not prone to a 51% attack. Also uses committees, as is planned with Dfinity and Ethereum, although here the committees manage how miners are assigned to shards, whereas in Ethereum that is the task of the beacon chain and the sharding manager contract on the main chain. Uses PBFT consensus, which doesn't seem to be as good as Casper FFG, which is also used with PoW.
EOS: has a DPOS (delegated proof of stake) protocol. It experienced a liveness fault  and locked accounts to prevent theft just days after launch (which has spillover effects to other cryptocurrencies if exchanges decide to socialize losses from EOS, e.g. by freezing accounts of EOS and other cryptocurrencies and declaring bankruptcy, which in turn has legal implications ). It is controlled by a relatively centralised server and cartel of 21 block producers. It does not have a provably correct-by-construction, formally verified consensus protocol. It is very expensive with deposits instead of fees (deploying Cryptokitties on it at it's peak would cost about $1.5b in staked deposits) [3, 4]. You need to pay to create an account, need EOS to buy RAM in order to make transactions. Need to stake EOS for CPU and network resources (IMO this is a necessary con, since without incentivizing resource use, a tragedy of the commons arises; see e.g https://eips.ethereum.org/EIPS/eip-908).