Update configs for nitro nodes and bridge
This commit is contained in:
parent
33f55012d5
commit
7d0ad8dc2a
@ -347,7 +347,7 @@
|
||||
network:
|
||||
ports:
|
||||
go-nitro:
|
||||
- 4005:3005
|
||||
- 3005:3005
|
||||
- 3006:3006
|
||||
- 4006:4006
|
||||
```
|
||||
@ -395,9 +395,8 @@
|
||||
network:
|
||||
ports:
|
||||
go-nitro:
|
||||
- 3016:3006
|
||||
- 4016:4006
|
||||
- 5016:5006
|
||||
- 3007:3005
|
||||
- 4007:4005
|
||||
```
|
||||
|
||||
- Create a deployment from the spec file:
|
||||
@ -421,9 +420,8 @@
|
||||
network:
|
||||
ports:
|
||||
go-nitro:
|
||||
- 3026:3006
|
||||
- 4026:4006
|
||||
- 5026:5006
|
||||
- 3008:3005
|
||||
- 4008:4005
|
||||
```
|
||||
|
||||
- Create deployment from the spec files:
|
||||
@ -447,9 +445,8 @@
|
||||
network:
|
||||
ports:
|
||||
go-nitro:
|
||||
- 3036:3006
|
||||
- 4036:4006
|
||||
- 5036:5006
|
||||
- 3009:3005
|
||||
- 4009:4005
|
||||
```
|
||||
|
||||
- Create a deployment from the spec file:
|
||||
@ -473,9 +470,8 @@
|
||||
network:
|
||||
ports:
|
||||
go-nitro:
|
||||
- 3046:3006
|
||||
- 4046:4006
|
||||
- 5046:5006
|
||||
- 3010:3005
|
||||
- 4010:4005
|
||||
```
|
||||
|
||||
- Create deployment from the spec files:
|
||||
@ -681,15 +677,6 @@
|
||||
CERC_NITRO_CHAIN_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218
|
||||
|
||||
CERC_NITRO_SC_PK=0279651921cd800ac560c21ceea27aab0107b67daf436cdd25ce84cad30159b4
|
||||
|
||||
# Port to be used by P2P message service
|
||||
CERC_NITRO_L1_MSG_PORT=3005
|
||||
CERC_NITRO_L2_MSG_PORT=3006
|
||||
|
||||
# Port to be used by RPC server
|
||||
CERC_NITRO_RPC_PORT=4006
|
||||
|
||||
CERC_NITRO_PUBLIC_P2P_HOST=
|
||||
```
|
||||
|
||||
- Start testnet-onboarding-app (run command in testnet-onboarding-app repo)
|
||||
@ -797,17 +784,11 @@
|
||||
|
||||
# Private key of account to be used by Nitro node (derived address is used as Nitro address)
|
||||
# Note: Enter PKs without the leading `0x`
|
||||
CERC_NITRO_PK="<Private key of Alice>"
|
||||
CERC_NITRO_SC_PK="<Private key of Alice>"
|
||||
|
||||
# Private key of the account on chain that is used for funding channels in Nitro node
|
||||
CERC_NITRO_CHAIN_PK=570b909da9669b2f35a0b1ac70b8358516d55ae1b5b3710e95e9a94395090597
|
||||
|
||||
# Port to be used by P2P message service
|
||||
CERC_NITRO_MSG_PORT=3007
|
||||
|
||||
# Port to be used by RPC server
|
||||
CERC_NITRO_RPC_PORT=4007
|
||||
|
||||
# Optional
|
||||
# Contract addresses of NitroAdjudicator, VirtualPaymentApp and ConsensusApp
|
||||
# TODO: Contracts are deployed if addresses are not set
|
||||
@ -816,9 +797,7 @@
|
||||
CERC_CA_ADDRESS=0x198A8F1F14ACe1662fB2E5BE63A1de2308DE4CC7
|
||||
|
||||
# Public IP of the nitro-node
|
||||
CERC_PUBLIC_IP=/ip4/127.0.0.1/tcp/3005/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
|
||||
USE_DURABLE_STORE=true
|
||||
CERC_NITRO_BOOTPEERS=/ip4/127.0.0.1/tcp/3005/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
```
|
||||
|
||||
- In `l2alice-nitro-deployment/config.env` file, set the following env variable:
|
||||
@ -829,7 +808,7 @@
|
||||
|
||||
# Private key of account to be used by Nitro node (derived address is used as Nitro address)
|
||||
# Note: Enter PKs without the leading `0x`
|
||||
CERC_NITRO_PK="<Private key of Alice>"
|
||||
CERC_NITRO_SC_PK="<Private key of Alice>"
|
||||
|
||||
# Private key of the account on chain that is used for funding channels in Nitro node
|
||||
CERC_NITRO_CHAIN_PK=570b909da9669b2f35a0b1ac70b8358516d55ae1b5b3710e95e9a94395090597
|
||||
@ -848,11 +827,9 @@
|
||||
CERC_CA_ADDRESS=0x198A8F1F14ACe1662fB2E5BE63A1de2308DE4CC7
|
||||
|
||||
# Public IP of the nitro-node
|
||||
CERC_PUBLIC_IP=/ip4/127.0.0.1/tcp/3006/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
CERC_NITRO_BOOTPEERS=/ip4/127.0.0.1/tcp/3006/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
|
||||
USE_DURABLE_STORE=true
|
||||
|
||||
L2=true
|
||||
CERC_NITRO_L2=true
|
||||
```
|
||||
|
||||
- In `l1charlie-nitro-deployment/config.env` file, set the following env variable:
|
||||
@ -863,7 +840,7 @@
|
||||
|
||||
# Private key of account to be used by Nitro node (derived address is used as Nitro address)
|
||||
# Note: Enter PKs without the leading `0x`
|
||||
CERC_NITRO_PK="<Private key of Charlie>"
|
||||
CERC_NITRO_SC_PK="<Private key of Charlie>"
|
||||
|
||||
# Private key of the account on chain that is used for funding channels in Nitro node
|
||||
CERC_NITRO_CHAIN_PK=111b7500bdce494d6f4bcfe8c2a0dde2ef92f751d9070fac6475dbd6d8021b3f
|
||||
@ -881,9 +858,7 @@
|
||||
CERC_CA_ADDRESS=0x198A8F1F14ACe1662fB2E5BE63A1de2308DE4CC7
|
||||
|
||||
# Public IP of the nitro-node
|
||||
CERC_PUBLIC_IP=/ip4/127.0.0.1/tcp/3005/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
|
||||
USE_DURABLE_STORE=true
|
||||
CERC_NITRO_BOOTPEERS=/ip4/127.0.0.1/tcp/3005/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
```
|
||||
|
||||
- In `l2charlie-nitro-deployment/config.env` file, set the following env variable:
|
||||
@ -894,7 +869,7 @@
|
||||
|
||||
# Private key of account to be used by Nitro node (derived address is used as Nitro address)
|
||||
# Note: Enter PKs without the leading `0x`
|
||||
CERC_NITRO_PK="<Private key of Charlie>"
|
||||
CERC_NITRO_SC_PK="<Private key of Charlie>"
|
||||
|
||||
# Private key of the account on chain that is used for funding channels in Nitro node
|
||||
CERC_NITRO_CHAIN_PK=111b7500bdce494d6f4bcfe8c2a0dde2ef92f751d9070fac6475dbd6d8021b3f
|
||||
@ -912,11 +887,9 @@
|
||||
CERC_CA_ADDRESS=0x198A8F1F14ACe1662fB2E5BE63A1de2308DE4CC7
|
||||
|
||||
# Public IP of the nitro-node
|
||||
CERC_PUBLIC_IP=/ip4/127.0.0.1/tcp/3006/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
CERC_NITRO_BOOTPEERS=/ip4/127.0.0.1/tcp/3006/p2p/16Uiu2HAmJDxLM8rSybX78FH51iZq9PdrwCoCyyHRBCndNzcAYMes
|
||||
|
||||
USE_DURABLE_STORE=true
|
||||
|
||||
L2=true
|
||||
CERC_NITRO_L2=true
|
||||
```
|
||||
|
||||
- In a new terminal, go to go-nitro repo root and initialize node A on L1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user