An open API service indexing awesome lists of open source software.

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

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
```