parity poa
02-11
- Proof-of-Authority-Chains
- Demo-PoA-tutorial
- keorn/parity-poa-tutorial
- Docker
- Aura
- It does not depend on nodes solving arbitrarily difficult mathematical problems, but instead uses a set of 「authorities」 - nodes that are explicitly allowed to create new blocks and secure the blockchain. The chain has to be signed off by the majority of authorities, in which case it becomes a part of the permanent record. This makes it easier to maintain a private chain and keep the block issuers accountable.
- Aura consensus
- Setting up a Proof of Authority network
- Pick real world entities that should control the network, so called authorities.
- Each authority should run a Parity node and create an account
- Authorities should exchange their account addresses and place them in the spec or validator contract
- All authority nodes should run an instance Parity with the agreed on specification
- Additional user nodes can connect to the network as well
- Use the network just as a public Ethereum network (transactions, contracts etc.)
- Running the authority nodes
- --chain, consensus Engine
- --engine-signer, an account address (0xADDRESS) listed in the engine configuration under authorities
- --password
- Parity has a separate directory for each chain, so make sure that the account is visible on the specified chain (create an account with --chain, import the keys or use --keys-path)
- To make the transactions free, authority nodes can run with --usd-per-tx 0
- RPC/UI/parity account new三種方式創建新賬戶
- 三種console
- geth attach ~/Library/Application Support/io.parity.ethereum/jsonrpc.ipc, geth attach localhost:8545
- npm install web3
- open the UI, go to Applications and open the Parity/Web3 Console
- https://github.com/ethereum/wiki/wiki/JavaScript-API#web3
- web3
推薦閱讀:
※關於 Parity 多簽錢包賬戶凍結解釋
※GCS遊戲公鏈:驅動區塊鏈遊戲走向主流的基礎設施
※以太坊(Ethereum)創世揭秘
※比特幣,萊特幣,以太坊,以太經典,BCC,Dash價格分析(46)
TAG:以太坊 |