stack-orchestrator/app/data/stacks/fixturenet-payments
Nabarun Gogoi 5d19c56b0c
Upgrade Nitro version in stack and add nitro-rpc-client CLI (#557)
* Changes required for ponder container and upgrade ts-nitro version

* Fix empty CERC_RELAY_MULTIADDR env variable

* Add curl output for ponder payment channel

* Add `nitro-rpc-client` container in payments stack (#1)

* Add container for nitro-rpc-client

* Add nitro-rpc-client service

* Update nitro-rpc-client container

* Update demo.md in payments stack

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>

* Update env variables used for go-nitro container

* Pass Nitro chain URL in watcher config

* Update ponder config chainUrl

* Remove curl check in ponder start script

* Upgrade node version to 18 in watcher-ts Dockerfile

* Update ponder section in the demo instructions

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2023-10-05 14:57:47 +05:30
..
demo.md Upgrade Nitro version in stack and add nitro-rpc-client CLI (#557) 2023-10-05 14:57:47 +05:30
README.md Add demo instructions to fixturenet-payments stack (#556) 2023-10-04 12:51:04 +05:30
stack.yml Upgrade Nitro version in stack and add nitro-rpc-client CLI (#557) 2023-10-05 14:57:47 +05:30

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

Deploy the stack:

laconic-so --stack fixturenet-payments deploy --cluster payments up

# Exposed on host ports:
# 4005: go-nitro node's RPC endpoint
# 5005: go-nitro node's p2p endpoint
# 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

Demo

Follow the demo to try out end-to-end payments

Clean up

Stop all the services running in background:

laconic-so --stack fixturenet-payments deploy --cluster payments down 30

Clear volumes created by this stack:

# List all relevant volumes
docker volume ls -q --filter "name=[payments"

# Remove all the listed volumes
docker volume rm $(docker volume ls -q --filter "name=[payments")