Update steps for reading bridge contracts address
This commit is contained in:
parent
fb88d0fe47
commit
a2317c2ac4
@ -412,7 +412,7 @@
|
||||
- Read the bridge contract address from the L1 deployment records in the `op-node` container:
|
||||
|
||||
```bash
|
||||
BRIDGE=$(laconic-so deployment --dir fixturenet-optimism-deployment exec op-node "cat /l1-deployment/$DEPLOYMENT_CONTEXT/.deploy" | jq -r .L1StandardBridgeProxy)
|
||||
BRIDGE=$(laconic-so deployment --dir fixturenet-optimism-deployment exec op-node "cat /l1-deployment/$DEPLOYMENT_CONTEXT-deploy.json" | jq -r .L1StandardBridgeProxy)
|
||||
|
||||
# Get the funded account's pk
|
||||
ACCOUNT_PK=$(laconic-so deployment --dir fixturenet-optimism-deployment exec op-node "jq -r '.AdminKey' /l2-accounts/accounts.json")
|
||||
@ -582,7 +582,6 @@
|
||||
```
|
||||
# In laconic-wallet
|
||||
yarn start
|
||||
|
||||
```
|
||||
|
||||
- Press `a` to run the application on android and wait till the wallet app opens up on your phone
|
||||
@ -850,7 +849,7 @@
|
||||
- Fund the laconic account by clicking on the `REQUEST TOKENS FROM FAUCET` button
|
||||
- Send transaction request to the Wallet
|
||||
- Approve and send transaction to laconicd chain
|
||||
- Repeat onboarding for other (Charlies's) account
|
||||
- Repeat onboarding for other (Charlies's) account by clicking on the web app header "Testnet Onboarding"
|
||||
- List the participants on stage 1 (run in the directory where laconicd deployment was created):
|
||||
|
||||
```bash
|
||||
@ -882,12 +881,9 @@
|
||||
|
||||
# Remove the temporary data directory
|
||||
sudo rm -rf stage1-genesis
|
||||
```
|
||||
|
||||
- Change directory to stage1 deployment directory
|
||||
|
||||
```bash
|
||||
cd <stage1-deployment-directory-absolute-path>
|
||||
# Go back to the directory where deployments are created
|
||||
cd -
|
||||
```
|
||||
|
||||
- Copy over the generated genesis file (`.json`) containing the onboarding module state with funded participants to data directory in stage1 deployment (`stage1-deployment/data/genesis-config`):
|
||||
@ -948,8 +944,8 @@
|
||||
|
||||
```bash
|
||||
export BRIDGE_ADDRESS=0xBBB676f9cFF8D242e9eaC39D063848807d3D1D94
|
||||
export A_ADDRESS=<Alice Ethereum address>
|
||||
export C_ADDRESS=<Charlie Ethereum address>
|
||||
export A_ADDRESS=<Alice Nitro address>
|
||||
export C_ADDRESS=<Charlie Nitro address>
|
||||
|
||||
# Starts virtual fund objective on L2 to create virtual channel from A' to C'
|
||||
nitro-rpc-client virtual-fund $C_ADDRESS $BRIDGE_ADDRESS -p 4008
|
||||
|
Loading…
Reference in New Issue
Block a user