From 5649d8fd6dc33532c3fa303e54d5566ced47a85a Mon Sep 17 00:00:00 2001 From: Neeraj Date: Tue, 10 Sep 2024 16:21:11 +0530 Subject: [PATCH] Fetch and use peer id and state channel address --- ops/deployments-from-scratch.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ops/deployments-from-scratch.md b/ops/deployments-from-scratch.md index c9fa474..eb17422 100644 --- a/ops/deployments-from-scratch.md +++ b/ops/deployments-from-scratch.md @@ -215,9 +215,9 @@ geth_deployer_pk: "" # Custom L1 token to be deployed - token_name: "LaconicNetworkToken" - token_symbol: "LNT" - intial_token_supply: "129600" + token_name: "" + token_symbol: "" + intial_token_supply: "" ``` * Update the target dir in `setup-vars.yml`: @@ -374,9 +374,9 @@ export BRIDGE_CONTRACT_ADDRESS=$(laconic-so deployment --dir bridge-deployment exec nitro-bridge "jq -r '.\"$OPTIMISM_CHAIN_ID\"[0].contracts.Bridge.address' /app/deployment/nitro-addresses.json") - # TODO - export BRIDGE_NITRO_ADDRESS= - export BRIDGE_PEER_ID= + export BRIDGE_NITRO_ADDRESS=$(laconic-so deployment --dir bridge-deployment exec nitro-rpc-client "nitro-rpc-client get-node-info -p 4006 -h nitro-bridge" | jq -r '.SCAddress') + + export BRIDGE_PEER_ID=$(laconic-so deployment --dir bridge-deployment exec nitro-rpc-client "nitro-rpc-client get-node-info -p 4006 -h nitro-bridge" | jq -r '.MessageServicePeerId') export L1_BRIDGE_MULTIADDR="/dns4/bridge.laconic.com/tcp/3005/p2p/$BRIDGE_PEER_ID" export L2_BRIDGE_MULTIADDR="/dns4/bridge.laconic.com/tcp/3006/p2p/$BRIDGE_PEER_ID"