.. | ||
README.md | ||
stack.yml |
eth
Setup
-
Clone the stack repo:
laconic-so fetch-stack git.vdb.to/cerc-io/eth-stack
Create a deployment
-
First, create a spec file for the deployment, which will map the stack's ports and volumes to the host:
laconic-so --stack ~/cerc/eth-stack/stack-orchestrator/stacks/eth deploy init --output eth-spec.yml
-
Once you've made any needed changes to the spec file, create a deployment from it:
laconic-so --stack ~/cerc/eth-stack/stack-orchestrator/stacks/eth deploy create --spec-file eth-spec.yml --deployment-dir eth-deployment
-
Inside the
eth-deployment
deployment directory, openconfig.env
file and set following env variables:# Optional # Allow unprotected txs CERC_ALLOW_UNPROTECTED_TXS=true
Start
-
Start the deployment:
laconic-so deployment --dir eth-deployment start
Clean up
-
To stop all services running in the background, while preserving chain data:
laconic-so deployment --dir eth-deployment stop
-
To stop all services and also delete chain data:
laconic-so deployment --dir eth-deployment stop --delete-volumes # Remove the deployment dir sudo rm -rf eth-deployment