Grin is the one coin centered on simplicity:
Easiest potential consensus mannequin: Proof of Work. Grin makes use of Nakamoto consensus identical to Bitcoin.
Easiest potential emission: 1 grin per second eternally. Grin makes use of Tail Emission from launch, the exact opposite of Bitcoin’s Capped Provide. The latter is thought to undergo from insecurity and mining instability as soon as the block subsidy turns into insignificant, except a relentless backlog of excessive charge paying transactions may be created (which Bitcoin appears to handle with its constrained block dimension). Emission properties are additional explored in [1a] and [1b].
Easiest potential blockchain protocol: Pure Mimblewimble. In Mimblewimble, outputs are Pedersen commitments r*G+v*H which mix worth and blinding issue right into a single curve level. The blinding issue serves each to cover the worth and to manage possession. Correspondingly, a single (multi-)signature serves each to show worth steadiness (non-inflation) and to authorize switch of possession. The magic would not cease there, as transaction cut-through leads to the collapse of the whole transaction historical past right into a single transaction with no inputs and the present UTXO set as outputs [2].
Easiest potential blockchain sync: obtain the UTXO set, and a ~100 byte kernel that is still for each transaction. No have to know something about spent outputs.
Easiest potential confidential provide audit: each sync verifies the UTXO set with the equation
Σ utxo = Σ kernel + offset * G + top * 60e9 * H
the place every kernel is a provable dedication to 0 (as is offset * G), and top * 60e9 is the anticipated variety of nanogrins emitted in top one-minute blocks.
Easiest potential mixer: a simple mixing protocol [3] can non-interactively combine as much as 1000’s of self spends every day or hour.
Easiest potential (reminiscence exhausting) Proof of Work Algorithm: Cuckatoo Cycle. Its mathematical specification is simply 13 strains [4a] primarily based on the quite simple siphash-2-4 hash perform. Which interprets to only 42 strains of C code [4b]. Like Bitcoin, options may be immediately verified, however in contrast to Bitcoin, a single resolution try (looking out a graph) takes on the order of a second.
Easiest potential Issue Adjustment Algorithm: wtema. Only one line of code [5a] that outperforms many different DAAs [5b].
Easiest potential scripting performance: scriptless scripts. Grin does away with Bitcoin’s script and all its complexity, however retains a number of its performance, together with multi-signatures, and each absolute and relative timelocks. It simply helps atomic swaps, discreet log contracts, and bidirectional cost channels. It lacks hash locks, however finds a superior different in adaptor signatures.
The simplicity is mirrored within the comparatively small Rust codebase of the reference implementation [6a] and the choice C++ implementation [6b], which we could evaluate with these of Monero and Bitcoin:
Recordsdata Traces Blanks Feedback LinesOfCode
mimblewimble/grin 341 82675 11745 11812 59118
monero-project/monero 1235 683853 40436 56740 586677
bitcoin/bitcoin 2528 859137 62122 65863 731152
[1a] https://john-tromp.medium.com/a-case-for-using-soft-total-supply-1169a188d153
[1b] https://medium.com/@CryptoProfG/grin-money-explained-4-exploring-grins-monetary-model-e48b1761653
[2] https://phyro.github.io/what-is-grin/mimblewimble.html
[3] https://bitcointalk.org/index.php?matter=567625.msg56288711#msg56288711
[4a] https://github.com/tromp/cuckoo/blob/grasp/doc/mathspec
[4b] https://github.com/tromp/cuckoo/blob/grasp/doc/spec
[5a] https://github.com/mimblewimble/grin/blob/grasp/core/src/consensus.rs#L376-L377
[5b] https://learn.money/@jtoomim/bch-upgrade-proposal-use-asert-as-the-new-daa-1d875696