lotus-stack/stack-orchestrator/stacks/lotus-node
2024-05-23 14:57:37 +05:30
..
README.md Create stack for snap synced node 2024-05-23 14:57:37 +05:30
stack.yml Create stack for snap synced node 2024-05-23 14:57:37 +05:30

lotus-node

Instructions for deploying a Lotus snap-synced node (for both mainnet and calibnet )

Clone the stack repo

$ laconic-so fetch-stack git.vdb.to/cerc-io/lotus-stack

Clone required repositories

$ laconic-so --stack ~/cerc/lotus-stack/stack-orchestrator/stacks/lotus-node setup-repositories

Build the fixturenet-eth containers

$ laconic-so --stack ~/cerc/lotus-stack/stack-orchestrator/stacks/lotus-node build-containers
laconic-so --stack ~/cerc/lotus-stack/stack-orchestrator/stacks/lotus-node deploy up

Create a deployment

$ laconic-so --stack ~/cerc/lotus-stack/stacks/lotus-node deploy init --map-ports-to-host any-same --output lotus-node.yml
$ laconic-so --stack ~/cerc/lotus-stack/stacks/lotus-node deploy create --spec-file lotus-node.yml --deployment-dir lotus-node

Start the container

$ laconic-so deployment --dir lotus-node up

Check status

Clean up

Stop all services running in the background:

$ laconic-so deployment --dir lotus-node down

Clear volumes created by this stack: