nitro-stack/stack-orchestrator/config/go-nitro/run-nitro-node.sh
Nabarun Gogoi c0fe155708
Add stack for running individual nitro node (#2)
* Build go-nitro container image

* Run nitro node using stack

* Add config setup in readme for running nitro node

* Add script for deploying contracts

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
2024-07-18 10:22:37 +05:30

9 lines
350 B
Bash
Executable File

#!/bin/bash
# TODO: Support running node on L2
if [ -n "$CERC_SCRIPT_DEBUG" ]; then
set -x
fi
./nitro -chainurl ${CERC_NITRO_CHAIN_URL} -msgport ${CERC_NITRO_MSG_PORT} -rpcport ${CERC_NITRO_RPC_PORT} -pk ${CERC_NITRO_PK} -chainpk ${CERC_NITRO_CHAIN_PK} -naaddress ${CERC_NA_ADDRESS} -vpaaddress ${CERC_VPA_ADDRESS} -caaddress ${CERC_CA_ADDRESS}