Simple docker-compose setup for development use. Allows interacting with a private local Ethereum node via http or https
Also, there are a couple of different directories:
| Directory | Written in | Purpose |
|---|---|---|
bin |
NodeJs | Contains helper scripts that aids in different aspects. For now, there's only one scrip called monkey-cli that helps to produce fake blocks / txs and contract deployments for testing purposes. More utils will come eventually. |
postman |
Postman (Js) | A simple Postman collection that contains all ethereum JSON RPC calls. |
docker-compose.yml |
Docker | For keeping everything sane and to produce a replicable environment in all machines, uses docker and docker compose as its development orchestrator. |
These instructions will get you a copy of a Parity Ethereum node up and running on your local machine for development and testing puposes.
HTTPS: https://localhost:7545
HTTP: http://localhost:8545
WSS: https://localhost:7545
WS: http://localhost:8545
To configure Parity edit the file parity/config/config.toml
- For syntax and advanced usage see: Configuring Parity
To add pre-filled accounts edit the accounts key in the file parity/config/genesis.json
- For syntax and advanced usage see: Parity Chain Specification
Now that you have done sucessfully the prerequisites steps (yay!), it's time to get your hands dirty. Just make sure you have installed docker and docker-compose (the more recent, the better).
In order to bring up the project you can issue the following command in the terminal:
$ docker-compose up -dTo stop:
$ docker-compose stopAnd to check the logs:
$ docker-compose logs -f
$ docker-compose logs -f parity # (you can specify the service name to gather specific logs also)As you can see, these are just regular docker-compose commands, so if you have any related questions, navigate to the official documentation as it will cover basic and more advanced stuff.
This project is licensed under the MIT License - see the LICENSE.md file for details.