Setup your first Parity POA network with 3 authorities and 3 members.
- Install docker and docker-compose
- Run
git clone https://github.com/dstarcev/parity-poa-playground.git && cd parity-poa-playground
- Run
docker-compose up -d
Run docker-compose logs | grep token=
to get an authenticated URL for the Parity UI.
Access the ethstats dashboard.
A nice dashboard is already configured and connected with all the nodes. Find it at http://127.0.0.1:3001.
There is already an account with an empty password that has enough ether:
0x6B0c56d1Ad5144b4d37fa6e27DC9afd5C2435c3B
And another who is broke:
0x00E3d1Aa965aAfd61217635E5f99f7c1e567978f
You may also want to change the list of prefunded accounts in parity/config/chain.json
.
Add JSON-formatted ethereum accounts to parity/keys
and they will appear in the UI.
Talk to JSON RPC at http://127.0.0.1:8545 with your favorite client.
Be kind and send the poor an ether!
curl --data '{"jsonrpc":"2.0","method":"personal_sendTransaction","params":[{"from":"0x6B0c56d1Ad5144b4d37fa6e27DC9afd5C2435c3B","to":"0x00E3d1Aa965aAfd61217635E5f99f7c1e567978f","value":"0xde0b6b3a7640000"}, ""],"id":0}' -H "Content-Type: application/json" -X POST localhost:8545