stack-orchestrator/app/data/stacks/fixturenet-payments
Nabarun Gogoi 0bec51e96a
Pay for queries from watcher to indexer mode Ponder apps in payments stack (#573)
* Use ponder in watcher mode and indexer mode separately in payments stack

* Refactor config file and configure env variables for watcher mode

* Update demo.md for payments stack

* Handle review changes

* Setup config to pay for watcher to indexer GQL queries

* Fix config in stack for making payments in watcher ponder app

* Update demo for payment from watcher to indexer mode Ponder apps

* Use laconic-esm brannch for ponder

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
2023-10-12 14:16:44 +05:30
..
demo.md Pay for queries from watcher to indexer mode Ponder apps in payments stack (#573) 2023-10-12 14:16:44 +05:30
README.md Update demo instructions in fixturenet-payments stack (#560) 2023-10-06 14:36:10 +05:30
stack.yml Pay for queries from watcher to indexer mode Ponder apps in payments stack (#573) 2023-10-12 14:16:44 +05:30

fixturenet-payments

Instructions to setup and deploy an end-to-end fixturenet-payments stack

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")