Proof of authority

bash parity-deploy.sh — config aura — nodes 7

Steps:

docker-compose up

Instantiates containers each running a parity node indexing the same genesis block.

curl — data ‘{“jsonrpc”:”2.0",”method”:”personal_sendTransaction”,”params”:[{“from”:”0xsource”,”to”:”0xdestination”,”value”:”0x0"}, “password”],”id”:0}’ -H “Content-Type: application/json” -X POST localhost:8545

was used to test the connectivity of the Blockchain over rpc.

parity — chain /parity/genesis.json — config /parity/authority.toml -d /parity/data

is the entrypoint of each container.

parity-ui — chain deployment/chain/spec.json

Parity will automatically connect to host1 which is running on localhost:8545.

cd POA/eth-build-network

Bash blockchain 9

The command above will basically set up a private network with 9 nodes:

bash ethstats 9

Bash clean

Will clean the network: Delete genesis.json, nodes’ data, app.json, stop pm2 and shutdown websocket server.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store