updates to payments demo (#566)

This commit is contained in:
Zach 2023-10-18 12:23:57 -04:00 committed by GitHub
parent 771943864e
commit 2402220273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# fixturenet-payments
Instructions to setup and deploy an end-to-end fixturenet-payments stack
Instructions to setup and deploy an end-to-end fixturenet-payments stack, on a local machine. Some tips are included for running on a remote cloud machine.
## Setup
@ -22,7 +22,9 @@ Deploy the stack:
```bash
laconic-so --stack fixturenet-payments deploy --cluster payments up
```
```bash
# Exposed on host ports:
# 32***: geth in statediffing mode and ipld-eth-server(s)
# 4005: in-process go-nitro node's RPC endpoint
@ -36,11 +38,29 @@ laconic-so --stack fixturenet-payments deploy --cluster payments up
# 9090: MobyMask v3 watcher relay node endpoint
# 8080: MobyMask snap
# 3004: MobyMask v3 app
# 32***: geth with statediffing
```
If running in the cloud, ensure all the of the above ports are open. The geth port can be retrieved with:
```bash
docker port payments-fixturenet-eth-geth-1-1 8545
```
Then for every port above, run each line in a new terminal window (or use `screen`):
```bash
ssh -L 4005:localhost:4005 user@<your-ip>
ssh -L 5005:localhost:5005 user@<your-ip>
ssh -L 8081:localhost:8081 user@<your-ip>
# ... and so on for every port
```
This will allow you to access the entirety of the app as if it were running locally.
## Demo
Follow the [demo](./demo.md) to try out end-to-end payments
Follow the [demo](./demo.md) to try out end-to-end payments.
## Clean up

View File

@ -13,6 +13,7 @@ repos:
- github.com/cerc-io/go-nitro@ts-interop # TODO: Use release
# mobymask watcher repos
- github.com/cerc-io/watcher-ts@v0.2.66
# this is mobymask-v3
- github.com/cerc-io/mobymask-v2-watcher-ts@v0.2.4
- github.com/cerc-io/MobyMask@v0.1.3
# mobymask app repos