Update testnet onboarding demo with new stacks #15
@ -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
|
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
|
```bash
|
||||||
laconic-so deployment --dir fixturenet-optimism-deployment logs -f op-geth
|
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):
|
- Start `onboarding-app` and `onboarding-api` deployments (run where deployments are created):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Builds and serves the app
|
||||||
laconic-so deployment --dir onboarding-app-deployment start
|
laconic-so deployment --dir onboarding-app-deployment start
|
||||||
|
|
||||||
|
# Serves the API to generate access tokens
|
||||||
laconic-so deployment --dir onboarding-api-deployment start
|
laconic-so deployment --dir onboarding-api-deployment start
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -695,17 +703,12 @@
|
|||||||
|
|
||||||
## Demo
|
## 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
|
```bash
|
||||||
Network type - `COSMOS`
|
Network name - laconicd
|
||||||
Chain ID - `laconic_9000-1`
|
New RPC URL - http://127.0.0.1:26657
|
||||||
Network name - `laconicd-local`
|
Gas Price - 1
|
||||||
New RPC URL - `http://127.0.0.1:26657`
|
|
||||||
Coin Type - `118`
|
|
||||||
Native Denom - `alnt`
|
|
||||||
Address Prefix - `laconic`
|
|
||||||
Gas Price - `1`
|
|
||||||
```
|
```
|
||||||
|
|
||||||
- Start the stack for stage 0 laconicd (run command in directory where stage0-deployment had been created)
|
- 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")
|
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)
|
- 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
|
- 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 Android app, scan the QR code from the onboarding app
|
||||||
- If using the wallet website, enter WalletConnect URI for pairing
|
- 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
|
- Use nitro accounts for which ledger channels have been created on L2
|
||||||
- Sign using the nitro key
|
- Sign using the nitro key
|
||||||
- Approve sign request on Wallet
|
- Approve sign request on Wallet
|
||||||
|
Loading…
Reference in New Issue
Block a user