2023-10-03 12:10:34 +00:00
|
|
|
# fixturenet-payments
|
|
|
|
|
2023-10-06 09:06:10 +00:00
|
|
|
Instructions to setup and deploy an end-to-end fixturenet-payments stack
|
|
|
|
|
2023-10-03 12:10:34 +00:00
|
|
|
## Setup
|
|
|
|
|
|
|
|
Clone required repositories:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
laconic-so --stack fixturenet-payments setup-repositories --pull
|
|
|
|
```
|
|
|
|
|
|
|
|
Build the container images:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
laconic-so --stack fixturenet-payments build-containers
|
|
|
|
```
|
|
|
|
|
|
|
|
## Deploy
|
|
|
|
|
|
|
|
Deploy the stack:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
laconic-so --stack fixturenet-payments deploy --cluster payments up
|
|
|
|
|
|
|
|
# Exposed on host ports:
|
2023-10-04 07:21:04 +00:00
|
|
|
# 4005: go-nitro node's RPC endpoint
|
|
|
|
# 5005: go-nitro node's p2p endpoint
|
2023-10-03 12:10:34 +00:00
|
|
|
# 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
|
|
|
|
```
|
|
|
|
|
2023-10-04 07:21:04 +00:00
|
|
|
## Demo
|
2023-10-03 12:10:34 +00:00
|
|
|
|
2023-10-04 07:21:04 +00:00
|
|
|
Follow the [demo](./demo.md) to try out end-to-end payments
|
2023-10-03 12:10:34 +00:00
|
|
|
|
|
|
|
## Clean up
|
|
|
|
|
|
|
|
Stop all the services running in background:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
laconic-so --stack fixturenet-payments deploy --cluster payments down 30
|
|
|
|
```
|
|
|
|
|
|
|
|
Clear volumes created by this stack:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# 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")
|
|
|
|
```
|