Compare commits

..
Author SHA1 Message Date
Zach 2402220273 updates to payments demo (#566) 2023-10-18 12:23:57 -04:00
Zach 771943864e build fixturenet payments demo on arm (#564) 2023-10-18 12:05:09 -04:00
3 changed files with 24 additions and 3 deletions
@@ -1,4 +1,4 @@
FROM node:18.17.1-alpine3.18
FROM node:18.17.1-alpine3.17
RUN apk --update --no-cache add git python3 alpine-sdk jq
+22 -2
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
@@ -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