This project uses docker compose project to spin up an evmapp node on Gobi testnet.
- docker
- docker compose v2
- jq
- pwgen
- Set up environment variables in the .env
SCNODE_REST_PASSWORD= # Uncomment and set this variable only if you are willing to set up authentication on the rest api endpoints - Run the following command to initialize and run the stack for the first time:
./scripts/init.sh
- Run the following command to stop the stack:
./scripts/shutdown.sh
- Run the following command to start the stack after it was stopped:
./scripts/startup.sh
- Run the following command to destroy the stack, this action will delete your wallet and all the data:
./scripts/clean.sh
The evmapp node RPC interfaces will be available over HTTP at:
-
For example:
curl -sX POST -H 'accept: application/json' -H 'Content-Type: application/json' "http://127.0.0.1:9545/block/best"
The Ethereum RPC interface is available at /ethv1:
-
For example:
curl -sX POST -H 'accept: application/json' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"eth_gasPrice","params":[],"id":1}' "http://127.0.0.1:9545/ethv1"