├── .gitignore └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Awesome Blockchain Rust 2 | 3 | *Useful components for building blockchains in Rust. include: cryptography, distributed, p2p, consensus, etc* 4 | 5 | - [Blockchains](#blockchains) 6 | - [Blockchain Frameworks](#blockchain-frameworks) 7 | - [Cross-Chain](#cross-chain) 8 | - [Virtual Machines](#virtual-machines) 9 | - [General-Purpose Consensus](#general-purpose-consensus) 10 | - [P2P Network Libraries](#p2p-network-libraries) 11 | - [Cryptography](#cryptography) 12 | - [Layer2](#layer2) 13 | - [Dapps](#dapps) 14 | - [Other](#other) 15 | - [Contribute](#contribute) 16 | - [License](#license) 17 | 18 | ## Blockchains 19 | - [Aleo](https://github.com/AleoNet/snarkOS). 20 | Decentralized operating system for zero-knowledge applications. 21 | - [Aleph Zero](https://github.com/aleph-zero-foundation). 22 | DAG, PoS, snark smart contracts (substrate based). 23 | - [Anoma.network](https://github.com/anoma). 24 | PoS blockchain with privacy. 25 | - [Aptos Network](https://github.com/aptos-labs). 26 | Building the safest and most scalable Layer 1 blockchain.. 27 | - [Bitcoin Cash](https://github.com/be-cash/bitcoin-cash). 28 | A library for creating and parsing Bitcoin Cash transactions. 29 | - [Casper](https://github.com/casper-network/casper-node). 30 | A decentralized L1 PoS blockchain designed to accelerate enterprise and developer adoption. 31 | - [Chainflip](https://github.com/chainflip-io/chainflip-backend/). 32 | Native Cross-Chain Swaps. 33 | - [CITA](https://github.com/cryptape/cita). 34 | A high performance blockchain kernel for enterprise users. 35 | - [CodeChain](https://github.com/CodeChain-io/codechain). 36 | Programmable multi-asset chain. 37 | - [Concordium](https://github.com/Concordium). 38 | Privacy centric (zk) PoS chain, yet with built in identities and rust smart contracts. 39 | - [Conflux](https://github.com/Conflux-Chain/conflux-rust). 40 | The Rust implementation of Conflux protocol. 41 | - [Darwinia](https://github.com/darwinia-network/darwinia). 42 | Relay chain of Darwinia Network, can connect to Polkadot as 43 | parachain in Polkadot Model. 44 | - [Dusk.network](https://github.com/dusk-network). 45 | Privacy PoS using zk (plonk). 46 | - [Enigma](https://github.com/enigmampc/enigma-core) secures the 47 | decentralized web. 48 | - [MultiversX](https://github.com/multiversx). 49 | Sharded Smart Contracts execution platform with a PoS consensus mechanism. 50 | - [Exonum](https://github.com/exonum/exonum). 51 | An extensible open-source framework for creating 52 | private/permissioned blockchain applications. 53 | - [Forest](https://github.com/ChainSafe/forest). 54 | An implementation of Filecoin written in Rust. 55 | - [Fuel](https://github.com/FuelLabs/fuel-core). 56 | Rust full node implementation of the Fuel protocol. 57 | - [Gear](https://github.com/gear-tech/gear). 58 | Computational component of Polkadot network. 59 | - [Grin](https://github.com/mimblewimble/grin). 60 | Minimal implementation of the MimbleWimble protocol. 61 | - [Holochain](https://github.com/holochain/holochain). 62 | The core Holochain framework written in rust, a container, and 63 | hdk-rust library for writing Zomes. 64 | - [Interledger](https://github.com/interledger-rs/interledger-rs). 65 | An easy-to-use, high-performance Interledger implementation written 66 | in Rust. 67 | - [Internet Computer Protocol (ICP)](https://github.com/dfinity/ic). 68 | The world’s first blockchain that runs at web speed and can increase 69 | its capacity without bound. 70 | - [Internet of People](https://github.com/Internet-of-People/iop-rs). 71 | Decentralized software stack that provides the building blocks and 72 | tools to support a decentralized society. 73 | - [Libra](https://github.com/libra/libra). 74 | Global currency and financial infrastructure that empowers billions 75 | of people. 76 | - [Lighthouse](https://github.com/sigp/lighthouse). 77 | Fast and secure Ethereum 2.0 client. 78 | - [Namada](https://github.com/anoma/namada). 79 | Proof-of-Stake L1 for interchain asset-agnostic privacy. 80 | - [NEAR](https://github.com/nearprotocol/nearcore). 81 | NEAR Protocol - scalable and usable blockchain. 82 | - [Nervos CKB](https://github.com/nervosnetwork/ckb). 83 | Nervos CKB is a public permissionless blockchain, the common 84 | knowledge layer of Nervos network. 85 | - [NYM](https://github.com/nymtech/nym). 86 | Selective privacy via a mixnet preventing metadata analysis. 87 | - [Nomic](https://github.com/nomic-io/nomic). 88 | Nomic is a high-performance Bitcoin sidechain which is part of the 89 | Cosmos network. 90 | - [Mina Protocol](https://github.com/ChainSafe/mina-rs). 91 | A rust implementation of the mina succinct blockchain. 92 | - [Mir Protocol](https://github.com/mir-protocol). 93 | A succinct blockchain powered by zero-knowledge proofs. (plonk based) 94 | - [OpenEthereum](https://github.com/openethereum/openethereum). 95 | The Ethereum Rust client 96 | - [Parity Bitcoin](https://github.com/paritytech/parity-bitcoin). 97 | The Parity Bitcoin client. 98 | - [Parity Ethereum](https://github.com/paritytech/parity-ethereum). 99 | The fast, light, and robust EVM and WASM client. 100 | - [Parity Zcash](https://github.com/paritytech/parity-zcash). 101 | Rust implementation of Zcash protocol. 102 | - [Polkadot](https://github.com/paritytech/polkadot). 103 | Polkadot Node Implementation. 104 | - [Polymesh](https://github.com/PolymathNetwork/Polymesh). 105 | The Polymesh blockchain (built on Substrate) is an identity orientated chain 106 | for the issuance, lifecycle management and settlement of regulated securities. 107 | - [Radix](https://github.com/radixdlt/radixdlt-scrypto). 108 | Sharded smart contract DeFi platform. 109 | - [RsNano](https://github.com/simpago/rsnano-node). 110 | A rust port of Nano: the eco-friendly & feeless digital currency 111 | - [Setheum](https://github.com/Setheum-Labs/Setheum). 112 | SETHEUM : “Secure Evergreen Truthful Heterogeneous Economically Unbiased Market” 113 | is an Ethical DeFi-friendly Blockchain (built on Substrate) working on achieving 114 | mass adoption, security, scalability, affordability, inclusivity and ethical DeFi Governance. 115 | - [Shasper](https://github.com/paritytech/shasper). 116 | Parity Shasper beacon chain implementation using the Substrate 117 | framework. 118 | - [Solana](https://github.com/solana-labs/solana). 119 | Blockchain Rebuilt for Scale. 120 | - [Stacks 2.0](https://github.com/blockstack/stacks-blockchain). 121 | Proof of Transfer blockchain from Blockstack. 122 | - [Sui Network](https://github.com/MystenLabs/sui). 123 | A next-generation smart contract platform with high throughput, low 124 | latency, and an asset-oriented programming model powered by the Move 125 | programming language. 126 | - [Tari](https://github.com/tari-project). 127 | The Tari Digital Assets Protocol. 128 | - [Tendermint](https://github.com/informalsystems/tendermint-rs). 129 | Tendermint is a high-performance blockchain consensus engine for 130 | Byzantine fault tolerant applications. 131 | - [Witnet](https://github.com/witnet/witnet-rust). 132 | Open source implementation of Witnet decentralized oracle network 133 | protocol in Rust. 134 | - [xx-network](https://github.com/xx-labs/xxchain). 135 | Post-quantum blockchain, mixnet privacy preventing metadata analysis. (Substrate rust+go) 136 | - [Zebra](https://github.com/ZcashFoundation/zebra). 137 | An ongoing Rust implementation of a Zcash node. 138 | - [Zero-chain](https://github.com/LayerXcom/zero-chain). 139 | A privacy-preserving blockchain on Substrate. 140 | 141 | ## Blockchain Frameworks 142 | - [Substrate](https://github.com/paritytech/substrate). 143 | The platform for blockchain innovators. 144 | - [slingshot](https://github.com/stellar/slingshot). 145 | A new blockchain architecture under active development, with a 146 | strong focus on scalability, privacy and safety. 147 | - [Tendermint ABCI](https://github.com/informalsystems/tendermint-rs/tree/master/abci). 148 | Tendermint ABCI server, written in the Rust programming language. 149 | - [Orga](https://github.com/nomic-io/orga). 150 | A high-performance state machine engine designed for 151 | Tendermint-based blockchain applications. 152 | - [Anchor](https://github.com/coral-xyz/anchor) 153 | is a framework for Solana's Sealevel runtime providing several convenient developer tools for writing smart contracts. 154 | 155 | ## Cross-Chain 156 | - [AtomicDEX](https://github.com/KomodoPlatform/atomicDEX-API). 157 | Cross-chain and cross-protocol p2p orderbook based decentralized exchange and interoperability bridge (self-custodial). 158 | - [Comit](https://github.com/comit-network/). 159 | An open protocol facilitating trustless cross-blockchain applications. 160 | - [ibc-rs](https://github.com/cosmos/ibc-rs). 161 | Rust implementation of the Inter-Blockchain Communication (IBC) protocol. 162 | - [Hermes](https://github.com/informalsystems/hermes). 163 | Rust implementation of an Inter-Blockchain Communication (IBC) relayer. 164 | - [Hyperlane](https://github.com/hyperlane-xyz/hyperlane-monorepo). 165 | Framework for permissionless, modular interoperability. The offchain clients are written in Rust, as well as the smart contracts for Solana VM and CosmWasm. 166 | 167 | ## Virtual Machines 168 | - [CKB-VM](https://github.com/nervosnetwork/ckb-vm). 169 | RISC-V virtual machine. 170 | - [CosmWasm](https://github.com/CosmWasm/cosmwasm). 171 | Multi-chain smart contract platform built for the Cosmos ecosystem. 172 | - [EVM Parity](https://github.com/paritytech/parity-ethereum/tree/master/evmbin). 173 | Parity implementation of EVM. 174 | - [FuelVM](https://github.com/FuelLabs/fuel-vm). 175 | Interpreter for the FuelVM, a blazingly fast blockchain virtual machine. 176 | - [FVM](https://github.com/filecoin-project/ref-fvm). 177 | The Filecoin Virtual Machine is a hypervisor-inspired Wasm execution environment that supports multiple runtimes, including the EVM. 178 | - [Lunatic](https://github.com/lunatic-solutions/lunatic). 179 | Erlang-inspired runtime for WebAssembly. 180 | - [Polygon Miden](https://github.com/maticnetwork/miden). 181 | SNARK based VM. 182 | - [SVM](https://github.com/spacemeshos/svm) 183 | Spacemesh Virtual Machine. 184 | - [Wasmi](https://github.com/paritytech/wasmi). 185 | WebAssembly interpreter. 186 | - [Wasmer](https://github.com/wasmerio/wasmer). 187 | A convenient Rust wrapper over WebAssembly backends. 188 | - [Wasmtime](https://github.com/CraneStation/wasmtime). 189 | Standalone JIT-style runtime for WebAssembly, using Cranelift. 190 | - [Zinc](https://github.com/matter-labs/zinc). 191 | Zinc zk smart contract language. 192 | 193 | ## General-Purpose Consensus 194 | - [Raft](https://github.com/pingcap/raft-rs). 195 | Raft distributed consensus algorithm implemented in Rust. 196 | - [Honey Badger](https://github.com/poanetwork/hbbft). 197 | An implementation of the paper "Honey Badger of BFT Protocols" in 198 | Rust. 199 | - [Narwhal](https://github.com/MystenLabs/narwhal). 200 | The consensus layer used by Sui. 201 | 202 | ## P2P Network Libraries 203 | - [chamomile](https://github.com/placefortea/chamomile). 204 | P2P library. Support build robust stable connection on 205 | p2p/distributed network. 206 | - [crust](https://github.com/maidsafe/crust). 207 | Reliable P2P network connections in Rust with NAT traversal. One of 208 | the most needed libraries for any server-less / decentralised 209 | projects. 210 | - [rust-libp2p](https://github.com/libp2p/rust-libp2p). 211 | The Rust Implementation of the libp2p networking stack. 212 | - [Tentacle](https://github.com/driftluo/tentacle). 213 | A multiplexed p2p network framework that supports custom protocols 214 | - [P2P NAT-Traversal](https://github.com/ustulation/p2p). 215 | NAT Traversal techniques for p2p communication. 216 | - [qp2p](https://github.com/maidsafe/qp2p). 217 | Peer-to-peer communications library for Rust based on QUIC protocol. 218 | - [sn_routing](https://github.com/maidsafe/sn_routing). 219 | Routing - specialised storage DHT. 220 | 221 | ## Cryptography 222 | - [Awesome Cryptography Rust](https://github.com/rust-cc/awesome-cryptography-rust). 223 | - [Dalek Cryptography](https://github.com/dalek-cryptography). 224 | - [Za!](https://github.com/adria0/za). 225 | An experimental rust zksnarks compiler with embeeded bellman-bn128 226 | prover. 227 | - [OpenZKP](https://github.com/0xProject/OpenZKP). 228 | Pure Rust implementations of Zero-Knowledge Proof systems. 229 | - [Microsoft Nova](https://github.com/microsoft/Nova). 230 | Rust recursive snark without trusted setup. 231 | - [Arkworks](https://github.com/arkworks-rs). 232 | An ecosystem for developing and programming with zkSNARKs 233 | 234 | ## Layer2 235 | - [Arbitrum's arb-os](https://github.com/OffchainLabs/arb-os) 236 | ArbOS is the "operating system" that runs an eth Layer 2 on an Arbitrum chain, 237 | - [Noir language](https://github.com/noir-lang/noir). 238 | Noir is a Domain Specific Language for SNARK proving systems. (Aztec eth L2) 239 | - [Penumbra](https://github.com/penumbra-zone/penumbra). 240 | PoS network providing privacy to the Cosmos ecosystem. 241 | - [Rust-Lightning](https://github.com/rust-bitcoin/rust-lightning) 242 | is a Bitcoin Lightning library written in Rust. 243 | The main crate, lightning, does not handle networking, 244 | persistence, or any other I/O. Thus, it is runtime-agnostic, 245 | but users must implement basic networking logic, 246 | chain interactions, and disk storage. 247 | - [zkSync](https://github.com/matter-labs/zksync). 248 | Matter Labs' scaling eth L2 engine secured by zero-knowledge proofs. 249 | 250 | ## Dapps 251 | - [Serum-dex](https://github.com/project-serum/serum-dex). 252 | A decentralized exchange built on Solana. 253 | - [SewUp](https://github.com/second-state/SewUp). 254 | A library to help you build your Ethereum webassembly contract with 255 | Rust and just like develop in a common backend. 256 | - [Sienna Network](https://github.com/SiennaNetwork/SiennaNetwork). 257 | A privacy-first and cross-chain decentralized finance platform where 258 | you can privately swap, lend and convert your tokens into their 259 | private equivalent. 260 | - [ink!athon](https://github.com/scio-labs/inkathon). 261 | Full-Stack DApp Boilerplate for Substrate and ink! Smart Contracts. 262 | 263 | ## Other 264 | - [abscissa](https://github.com/iqlusioninc/abscissa). 265 | Micro-framework for CLI tools with strong focus on security. 266 | - [tesseracts](https://github.com/adria0/tesseracts). 267 | A small block explorer for geth PoAs written in rust. 268 | - [merk](https://github.com/nomic-io/merk). 269 | High performance Merkle key/value store written in Rust, based on 270 | RocksDB. 271 | - [ERC-4337 Bundler](https://github.com/Vid201/aa-bundler/). 272 | An ongoing Rust implementation of an ERC-4337 (Account Abstraction) Bundler. 273 | 274 | ## Contribute 275 | Contributions are most welcome. 276 | 277 | GitHub: [Awesome Blockchain 278 | Rust](https://github.com/rust-in-blockchain/awesome-blockchain-rust) 279 | 280 | 281 | ## License 282 | [![Creative Commons 283 | License](http://i.creativecommons.org/l/by/4.0/88x31.png)](http://creativecommons.org/licenses/by/4.0/) 284 | 285 | This work is licensed under a [Creative Commons Attribution 4.0 286 | International License](http://creativecommons.org/licenses/by/4.0/). 287 | --------------------------------------------------------------------------------