- AfG Consensus
- STF: runtime
- 源码: https://github.com/paritytech/substrate
- 文档: https://substrate.readme.io/docs/what-is-substrate
- https://www.parity.io/what-is-substrate/
- https://www.parity.io/substrate-in-a-nutshell/
- 前端: https://github.com/paritytech/substrate-ui
- 配置模板: https://github.com/paritytech/substrate-node-template
substrate --dev
相当于substrate --chain=dev --validator --key Alice
substrate --chain=local --validator --name "ALICE" --key Alice -d /tmp/alice --node-key 0000000000000000000000000000000000000000000000000000000000000001
TCP port: 30333,/ip4/0.0.0.0/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN
, Using authority key 5GoKvZWG5ZPYL1WUovuHW3zJBWBP5eT8CbqjdRY4Q6iMaDtZsubstrate --chain=local --validator --name "BOB" --key Bob -d /tmp/bob --port 30334 --bootnodes '/ip4/127.0.0.1/tcp/30333/p2p/QmQZ8TjTqeDj3ciwr93EJ95hxfDsb9pEYDizUAbWpigtQN'
❯ subkey restore Alice
Seed 0x416c696365202020202020202020202020202020202020202020202020202020 is account:
Public key (hex): 0xd172a74cda4c865912c32ba0a80a57ae69abae410e5ccb59dee84e2f4432db4f
Address (SS58): 5GoKvZWG5ZPYL1WUovuHW3zJBWBP5eT8CbqjdRY4Q6iMaDtZ
substrate purge-chain --dev
- manually:
rm -rf ~/Library/Application\ Support/Substrate/chains/dev/
- https://github.com/osuketh/apple-store-substrate
- https://github.com/upenn-cis198-2018f/final-project-substrate
- https://github.com/iveltondequeiroz/substrate-node-demo
- https://github.com/domsteil/substrate-blockchain
- https://github.com/davekaj/substrate-example
- https://github.com/gautamdhameja/tcr-substrate
- https://github.com/osuketh/apple-store-substrate
- https://github.com/airalab/substrate-node-robonomics
- https://github.com/hicommonwealth/edgeware-node https://edgewa.re/
- 使用最简单的共识, 类似 POA.
- 支持动态添加 validator, 目前写死两个.
- 支持转账, 目前不通.
- 区块链浏览器以及支持转账等链上操作.
- 预期耗时 2 周时间.
edgeware-node
的Cargo.toml
substrate 均指定为 v0.9 版本.