Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.23 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.23 KB

Local Parity Cluster

Run Cluster

To run the cluster, you will need to have Docker installed. Once this is done, run:

yarn run parity:start

Attach Network Monitor & Dashboard

yarn run parity:monitor

Once running, the dashboard can be found here: http://localhost:3001/

Configuring A Node

To add another node to the Parity cluster, follow these steps: Parity Node Configuration.

Talking to a Node

Command Line

You can communicate with ethereum nodes via the geth cli.

Using HTTP RPC:

geth attach http://parity1:8545

Using WebSockets:

geth attach ws://parity1:8546

Once attached, you will be able to run various commands with objects provided in the get command line interface (eth, web3, net).

JSON RPC

To talk to a node, you can use curl, or a an HTTP client such as axios to send requests.

See the list of JSON-RPC Methods for notes on usage.

Requests can also be sent in a batched manner, as well as individually sequentially.