Skip to content

How to Run A Fullnode on SPC Chain

Fullnodes Functions

  • Stores the full blockchain history on disk and can answer the data request from the network.
  • Receives and validates the new blocks and transactions.
  • Verifies the states of every accounts.

Supported Platforms

We support running a full node on Mac OS Xand Linux.

Suggested Requirements

Fullnode

  • VPS running recent versions of Mac OS X or Linux.
  • 4 cores of CPU and 8 gigabytes of memory (RAM).
  • A broadband Internet connection with upload/download speeds of 5 megabyte per second

Steps to Run a Full Node

Download spc_mainnet.json and static-nodes.json from https://github.com/spccoin/SPCChain/tree/master/Node-info

wget  https://raw.githubusercontent.com/spccoin/SPCChain/master/Node-info/spc_mainnet.json
wget https://raw.githubusercontent.com/spccoin/SPCChain/master/Node-info/static-nodes.json
wget https://raw.githubusercontent.com/spccoin/SPCChain/master/Node-info/geth.zip

Make node folder

mkdir node

Initialize the Node

./geth --datadir ./node init spc_mainnet.json

Copy the static-nodes.json to node/geth

Run the Nodes

./geth --datadir node --syncmode 'full' --gcmode=archive  --port 40605 --http --http.port 3545 --http.api 'personal,eth,net,web3,personal,admin,miner,txpool,debug' --bootnodes enode://68e185b9c1a168fff8a2702ea3af6c37fd64de309b51f4b0ec5d4622fa22dd927557e663dbe9c9d89e8deece1647a258bf844f5f5c4fcb2768300c64b71958bc@103.42.59.158:0?discport=40606 --networkid 3490 --allow-insecure-unlock