git.delta.rocks / unique-network / refs/commits / c6880a4e70ee

difftreelog

source

run-testnet.sh1.2 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 = $BOOTNODE11echo Validator = $VALIDATOR1213if [ "$BOOTNODE" = True ]; 14then15echo This is a Bootnode;16BOOTNODES="";17NODEKEY="--node-key-file einstein_key_file";18else19echo Bootnode Port   : $BOOTPORT;20echo Bootnode PeerID : $BOOTID;21BOOTNODES="--bootnodes /dns4/node_einstein/tcp/$BOOTPORT/p2p/$BOOTID";22NODEKEY="";23fi2425if [ "$VALIDATOR" = True ];26then27echo This is a Validator node;28/usr/local/bin/nft \29  --base-path /chain-data \30  --chain ./nftTestnetSpecRaw.json \31  --port $P2PPORT \32  --ws-port $WSPORT \33  --rpc-port $RPCPORT \34  --validator \35  --rpc-methods=Unsafe \36  --name $NODE \37  --ws-external \38  --rpc-external \39  -lruntime \40  $BOOTNODES \41  $NODEKEY;42else43echo This is a Gateway node;44/usr/local/bin/nft \45  --base-path /chain-data \46  --chain ./nftTestnetSpecRaw.json \47  --port $P2PPORT \48  --ws-port $WSPORT \49  --rpc-port $RPCPORT \50  --name $NODE \51  --ws-external \52  --ws-max-connections 10000 \53  --rpc-cors all \54  -lruntime \55  $BOOTNODES;56fi