.. | ||
README.md | ||
stack.yml |
fixturenet-optimism
Instructions to setup and deploy an end-to-end L1+L2 stack with fixturenet-eth (L1) and Optimism (L2)
Setup
Clone required repositories:
laconic-so --stack fixturenet-optimism setup-repositories
Checkout to the required versions and branches in repos:
# optimism
cd ~/cerc/optimism
git checkout @eth-optimism/sdk@0.0.0-20230329025055
Build the container images:
laconic-so --stack fixturenet-optimism build-containers
This should create the required docker images in the local image registry:
cerc/go-ethereum
cerc/lighthouse
cerc/fixturenet-eth-geth
cerc/fixturenet-eth-lighthouse
cerc/foundry
cerc/optimism-contracts
cerc/optimism-l2geth
cerc/optimism-op-batcher
cerc/optimism-op-node
Deploy
Deploy the stack:
laconic-so --stack fixturenet-optimism deploy up
To list down the running containers:
laconic-so --stack fixturenet-optimism deploy ps
# With status
docker ps
Clean up
Stop all services running in the background:
laconic-so --stack fixturenet-optimism deploy down
Remove volumes created by this stack:
docker volume ls
docker volume rm laconic-d527651bba3cb61886b36a7400bd2a38_fixturenet-geth-accounts
docker volume rm laconic-d527651bba3cb61886b36a7400bd2a38_l1-deployment
docker volume rm laconic-d527651bba3cb61886b36a7400bd2a38_l2-accounts
docker volume rm laconic-d527651bba3cb61886b36a7400bd2a38_op_node_data