-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathnodeStartRPC.sh
More file actions
16 lines (13 loc) · 956 Bytes
/
nodeStartRPC.sh
File metadata and controls
16 lines (13 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
# This script will start a Nova Network node in your machine. You will still have
# to set up your sync enode with your validator key to connect to the mainnet.
# This script requires elevated access privileged (chmod 755).
# Welcome Message
echo "Welcome to Nova Network!"
echo ""
echo "Starting 1/2 - Configuring the network genesis block..."
novanetwork --datadir .dag init novanetwork
echo ""
# Starting Nova Network
echo "Starting 2/2 - Starting your Nova Network RPC node..."
novanetwork --datadir .dag --networkid "87" --config "novanetwork.toml" --rpc.allow-unprotected-txs --nodiscover --maxpeers "1" --syncmode "full" --ipcdisable --graphql --graphql.corsdomain "*" --graphql.vhosts "*" --http.port "8545" --http --http.addr "0.0.0.0" --http.corsdomain "*" --http.vhosts "*" --http.api "eth,net,web3" --ws --ws.addr "0.0.0.0" --ws.origins "*" --ws.api "eth,net,web3" --miner.etherbase "0x000000000000000000000000000000000000dEaD"