diff --git a/testnet-onboarding-demo.md b/testnet-onboarding-demo.md index 95b231e..aa2a144 100644 --- a/testnet-onboarding-demo.md +++ b/testnet-onboarding-demo.md @@ -333,17 +333,26 @@ ``` 4. Create a deployment for the bridge: - - Create spec files for the deployment, map container ports to host ports: + - Create a spec-file for the deployment, map container ports to host ports and set env variables: ```bash - laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge deploy init --map-ports-to-host any-same --output bridge-nitro-spec.yml + laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge deploy init --map-ports-to-host any-same --output bridge-nitro-spec.yml --config CERC_NITRO_L1_CHAIN_URL=ws://host.docker.internal:8546, \ + CERC_NITRO_L2_CHAIN_URL=ws://host.docker.internal:9546, \ + CERC_NITRO_CHAIN_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218, \ + CERC_NITRO_SC_PK=0279651921cd800ac560c21ceea27aab0107b67daf436cdd25ce84cad30159b4, \ + CERC_GETH_URL=http://host.docker.internal:8545, \ + CERC_OPTIMISM_URL=http://host.docker.internal:9545, \ + CERC_GETH_DEPLOYER_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218, \ + CERC_OPTIMISM_DEPLOYER_PK=888814df89c4358d7ddb3fa4b0213e7331239a80e1f013eaa7b2deca2a41a218, \ + CERC_TOKEN_NAME=LaconicNetworkToken, \ + CERC_TOKEN_SYMBOL=LNT, \ + CERC_INITIAL_TOKEN_SUPPLY=10000000, \ ``` - Create a deployment from the spec file: ```bash - laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge deploy create --spec-file bridge-nitro-spec.yml --deployment-dir bridge-nitro-deployment - ``` + laconic-so --stack ~/cerc/nitro-stack/stack-orchestrator/stacks/bridge deploy create --spec-file bridge-spec.yml --deployment-dir bridge-deployment #### Nitro-node Stack