git.delta.rocks / unique-network / refs/commits / 9b6878d34b13

difftreelog

source

run-testnet.sh1.1 KiBsourcehistory
1# ls -la /nft_parachain/target/release23# /usr/local/bin/nft --dev --ws-external --rpc-external --base-path=/chain-data -lwarn,runtime45echo Running node $NODE6echo P2P Port        : $P2PPORT7echo WebSocket Port  : $WSPORT8echo RPC Port        : $RPCPORT910echo Boot = $BOOTNODE1112if [ "$BOOTNODE" = True ]; 13then14echo This is a Bootnode;15BOOTNODES="";16else17echo Bootnode Port   : $BOOTPORT;18echo Bootnode PeerID : $BOOTID;19BOOTNODES="--bootnodes /dns4/node_einstein/tcp/$BOOTPORT/p2p/$BOOTID";20fi2122if [ "VALIDATOR" = True ];23then24echo This is a Validator node;25/usr/local/bin/nft \26  --base-path /chain-data \27  --chain ./nftTestnetSpecRaw.json \28  --port $P2PPORT \29  --ws-port $WSPORT \30  --rpc-port $RPCPORT \31  --validator \32  --rpc-methods=Unsafe \33  --name $NODE \34  --ws-external \35  --rpc-external \36  -lruntime \37  $BOOTNODES;38else39echo This is a Gateway node;40/usr/local/bin/nft \41  --base-path /chain-data \42  --chain ./nftTestnetSpecRaw.json \43  --port $P2PPORT \44  --ws-port $WSPORT \45  --rpc-port $RPCPORT \46  --validator \47  --rpc-methods=Unsafe \48  --name $NODE \49  --ws-external \50  --rpc-external \51  --rpc-cors all \52  -lruntime \53  $BOOTNODES;54fi