Fetch and use peer id and state channel address
This commit is contained in:
parent
d71a481db3
commit
5649d8fd6d
@ -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-name>"
|
||||
token_symbol: "<token-symbol>"
|
||||
intial_token_supply: "<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"
|
||||
|
Loading…
Reference in New Issue
Block a user