Update testnet onboarding demo with new stacks #15

Merged
nabarun merged 12 commits from pm-update-demo-kyc into main 2024-08-05 15:45:57 +00:00
Showing only changes of commit 536c1120d0 - Show all commits

View File

@ -535,7 +535,13 @@
NOTE: The `fixturenet-optimism-contracts` service will configure and deploy the Optimism contracts to L1, exiting when complete. This may take several minutes; you can follow the progress by following the container's logs
- Check L2 logs
- Follow Nitro contracts deployment logs:
```bash
laconic-so deployment --dir fixturenet-optimism-deployment logs -f fixturenet-optimism-contracts
```
- Check L2 logs:
```bash
laconic-so deployment --dir fixturenet-optimism-deployment logs -f op-geth
@ -635,8 +641,10 @@
- Start `onboarding-app` and `onboarding-api` deployments (run where deployments are created):
```bash
# Builds and serves the app
laconic-so deployment --dir onboarding-app-deployment start
# Serves the API to generate access tokens
laconic-so deployment --dir onboarding-api-deployment start
```
@ -695,17 +703,12 @@
## Demo
- In laconic-wallet, click on `Create wallet` and add `laconicd-local` chain using `Add network` button:
- In laconic-wallet, click on `Create wallet` and update the `laconicd` network using `Edit Network` button:
```bash
Network type - `COSMOS`
Chain ID - `laconic_9000-1`
Network name - `laconicd-local`
New RPC URL - `http://127.0.0.1:26657`
Coin Type - `118`
Native Denom - `alnt`
Address Prefix - `laconic`
Gas Price - `1`
Network name - laconicd
New RPC URL - http://127.0.0.1:26657
Gas Price - 1
```
- Start the stack for stage 0 laconicd (run command in directory where stage0-deployment had been created)
@ -751,7 +754,7 @@
export BRIDGE_ADDRESS=$(laconic-so deployment --dir bridge-deployment exec nitro-bridge "jq -r '.\"42069\"[0].contracts.Bridge.address' /app/deployment/nitro-addresses.json")
```
- In the wallet, add 2 accounts (Alice and Charlie) for both the networks (ethereum and laconicd-local) by selecting the network and clicking on `Add account`
- In the wallet, add 2 accounts (Alice and Charlie) for both the networks (`Ethereum` and `laconicd`) by selecting the network and clicking on `Add account`
- Get Ethereum private keys for accounts Alice and Charlie from wallet using the `Show private key` link (to be used as statechannel PKs)
@ -990,7 +993,7 @@
- Click on the WalletConnect icon on the top right corner in the wallet
- If using the wallet Android app, scan the QR code from the onboarding app
- If using the wallet website, enter WalletConnect URI for pairing
- Choose Alice's nitro and laconicd account to onboard
- In the onboarding app, choose Alice's nitro and laconicd account to onboard
- Use nitro accounts for which ledger channels have been created on L2
- Sign using the nitro key
- Approve sign request on Wallet