| .. | ||
| .env.fixturenet | ||
| README.md | ||
| stack.yml | ||
fixturenet-payments
Setup
Clone required repositories:
laconic-so --stack fixturenet-payments setup-repositories --pull
Build the container images:
laconic-so --stack fixturenet-payments build-containers
Deploy
Configuration
Create an env file with contents from .env.fixturenet to be used in the next step
Deploy the stack:
laconic-so --stack fixturenet-payments deploy --cluster [CLUSTER_NAME] --env-file <PATH_TO_ENV_FILE> up
# Exposed on host ports:
# 5005: go-nitro node's p2p msg port
# 8081: reverse payment proxy's RPC endpoint
# 15432: MobyMask v3 watcher's db endpoint
# 3001: MobyMask v3 watcher endpoint
# 9090: MobyMask v3 watcher relay node endpoint
# 8080: MobyMask snap
# 3004: MobyMask v3 app
-
Check the logs of the MobyMask contract deployment container to get the deployed contract's address and generated root invite link:
docker logs -f $(docker ps -aq --filter name="mobymask-1") -
Check the reverse payment proxy container logs:
docker logs -f $(docker ps -aq --filter name="nitro-reverse-payment-proxy") -
Run the ponder app:
docker exec -it payments-ponder-app-1 bash -c "pnpm start"
Clean up
Stop all the services running in background:
laconic-so --stack fixturenet-payments deploy --cluster [CLUSTER_NAME] down 30
Clear volumes created by this stack:
# List all relevant volumes
docker volume ls -q --filter "name=[CLUSTER_NAME]"
# Remove all the listed volumes
docker volume rm $(docker volume ls -q --filter "name=[CLUSTER_NAME]")