https://github.com/pzixel/parity-poa-playground
Setup your first Parity POA network in a few commands
https://github.com/pzixel/parity-poa-playground
Last synced: 6 months ago
JSON representation
Setup your first Parity POA network in a few commands
- Host: GitHub
- URL: https://github.com/pzixel/parity-poa-playground
- Owner: Pzixel
- License: mit
- Created: 2020-01-25T00:23:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-25T00:45:10.000Z (over 6 years ago)
- Last Synced: 2025-04-06T03:45:15.422Z (over 1 year ago)
- Language: Dockerfile
- Homepage:
- Size: 47.9 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# parity-poa-playground
Setup your first Parity PoA network with 3 authorities and 3 members.
### Setup
0. Install [docker](https://docs.docker.com/engine/installation/) and [docker-compose](https://docs.docker.com/compose/install/)
1. Run `git clone https://github.com/orbita-center/parity-poa-playground.git && cd parity-poa-playground`
2. 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](https://github.com/cubedro/eth-netstats) dashboard.
A nice dashboard is already configured and connected with all the nodes.
Find it at [http://127.0.0.1:3001](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](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
```