Skip to content

Setup your first Parity POA network in a few commands

Notifications You must be signed in to change notification settings

drr00t/parity-poa-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parity-poa-playground

Setup your first Parity POA network with 3 authorities and 3 members.

Setup

  1. Install docker and docker-compose
  2. Run git clone https://github.com/dstarcev/parity-poa-playground.git && cd parity-poa-playground
  3. Run docker-compose up -d

Access the Parity UI

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.

Accounts

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.

Access JSON RPC

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

About

Setup your first Parity POA network in a few commands

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published