Add demo readme for onboarding testnet participants #6

Merged
nabarun merged 5 commits from testnet-onboarding-demo into main 2024-07-16 19:55:19 +00:00
Showing only changes of commit 5c808de518 - Show all commits

View File

@ -434,17 +434,28 @@
yarn contracts:deploy-optimism
```
- Deploy custom token on L1 and L2
- Deploy custom token on L1
```bash
# Deploy token on geth
yarn contracts:deploy-token-geth
```
- Note address of the deployed token on L1 and update `~/go-nitro/cmd/test-configs/bridge-assets-map.toml` config file
```bash
[[assets]]
l1AssetAddress = "<Token address on L1>"
...
```
- Deploy custom token on L2
```bash
# Deploy token on Optimism
yarn contracts:deploy-token-optimism
```
- Note addresses of the deployed token and update `cmd/test-configs/bridge-assets-map.toml` config file
- Note address of the deployed token on L2 and update `~/go-nitro/cmd/test-configs/bridge-assets-map.toml` config file
```bash
[[assets]]
@ -682,10 +693,10 @@
export NODE_EXTRA_CA_CERTS="$(mkcert -CAROOT)/rootCA.pem"
```
- Check that no channels exist on L1 and L2
- Check that no channels exist on L2
```bash
nitro-rpc-client get-all-ledger-channels -p 4006
nitro-rpc-client get-all-l2-channels -p 4006
```
- Set address of bridge and address of custom token on L1 in the current terminal
@ -754,7 +765,7 @@
- Check status of all L2 mirrored ledger channels
```bash
nitro-rpc-client get-all-ledger-channels -p 4006
nitro-rpc-client get-all-l2-channels -p 4006
# Expected output:
# {"ID":"0x15dbe6b996e4e46fdd6ea3e2074cbca58014dbb07368e3e7ba286df5c7b9da0d","Status":"Open","Balance":{"AssetAddress":"<Token_address_on_L2>","Me":"0xbbb676f9cff8d242e9eac39d063848807d3d1d94","Them":"0xa8d2d06ace9c7ffc24ee785c2695678aecdfd7a0","MyBalance":1000000,"TheirBalance":1000000},"ChannelMode":"Open"}
@ -1028,4 +1039,6 @@
- Implement faucet in stage 0 laconicd chain for participants to send onboarding tx
- Use latest optimism releases (e.g. v1.7.7) in fixturenet-optimism
- Implement external stack for go-nitro
- Add stack for bridge
- Add stack for nitro node
- LATER: Implement flow for registered participants with balance to join as validators in stage 1 laconicd chain