Substrate, Parity Technologies' Highly-anticipated Blockchain-Building Framework, has Arrived - Seite 2
- Pervasive and secure networking via libp2p
- Storage
- Telemetry
- Light client
- Block synchronisation
- Extensible JSON-RPC API endpoints
- Low-level JavaScript utils
- Transaction queue and block production mechanism
- Sandboxed WebAssembly interpreter
- Interchain connectivity via the Polkadot protocol
- Crypto primitives library
- Chain specification and versioning
- Pluggable consensus
Substrate Runtime Module Library (SRML)
The core architecture of Substrate separates the basic functionality of a network blockchain node and the chain-specific implementations by executing the latter in a separate WebAssembly environment. You have absolute freedom to write the chain logic in any language that can compile down to WebAssembly (Rust, C/C++, C#, Go, etc). You can add modules from the Substrate Runtime Module Library, or SRML. With SRML, you can take off-the-shelf components, plug them together, and build a blockchain that does what you want it to do. Modules include:
- Accounts & Balances - basic cryptocurrency, including account management and viewing
- Assets - simple, secure additional on-chain fungible assets
- Consensus - setting and modifying runtime code and storage (i.e. the set of authorities as a list of session keys on-chain), and reporting offline or misbehaving validators
- Contracts - turbo-charged Wasm-based smart contracts
- Council - council election and proposals
- Democracy - public proposals and referendums
- Sessions - key rotation for authorities
- Staking - Proof-of-Stake logic, including both staking and nominating of validator accounts
- Timestamp - have your chain know about time
- Treasury - decentralised grants, similar to a DAO
Lesen Sie auch
So, for example, if you want to create a Proof-of-Stake smart contract blockchain, you would take Substrate Core and plug in the Accounts & Balances, Staking, and Contracts modules. Once Polkadot launches, you could also make it interoperable by plugging it into Polkadot.