To run the cluster, you will need to have Docker installed. Once this is done, run:
yarn run parity:start
yarn run parity:monitor
Once running, the dashboard can be found here: http://localhost:3001/
To add another node to the Parity cluster, follow these steps: Parity Node Configuration.
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).
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.