These scripts will help you run a node on the SparkPoint Network Testnet
1.a If using physical server (Windows, MacOS, Linux), setup Docker Desktop. 1.b If using VPS, setup Docker Engine. 2. Ethereum wallet with at least 0.3 ETH (0.1 ETH required for staking, 0.1 ETH Tier 1 Node Key, 0.1 paying for gas) 3. Node Key
- CPU: 4 Cores
- RAM: 4 GB
- Storage: 20 GB
At the moment, there is no front serving website to guide you in purchasing a node key for SparkPoint Network Testnet. Please follow the steps below to purchase a node key.
- Go to Arbitrum Sepolia Explorer - Node Key Contract
- Go to Write as Proxy and Connect to Web3
- Open 4. buyNodeKey() 3.1 For "payableAmount (ETH)" type in "0.1" (without double quotes) for Tier 1 Node Key, "0.2" for Tier 2 Node Key, "0.3" for Tier 3 Node Key 3.2 For "paymentToken (address) type in "0x0000000000000000000000000000000000000000" (without double quotes) 3.3 For "tier (uint256)" type in "1" (without double quotes) for Tier 1 Node Key, "2" for Tier 2 Node Key, "3" for Tier 3 Node Key
- Then click write, and confirm transaction from your Metamask
Once you've have purchase a Node Key of any tier (1-3), please follow the steps below to complete a local deployment of your node.
- Clone the https://github.com/sparkpointio/sparkpoint-network-node repository
- If using VPS, run sudo chmod 777 config in the base directory of the sparkpoint-network-node repository.
- Open config/nodeConfigTier3.json file, and replace all "PRIVATE KEY" with your own private key used in purchasing the node key
- If you have a paid Arbitrum Orbit RPC, replace the "https://sepolia-rollup.arbitrum.io/rpc" with your own Arbitrum Sepolia RPC URL, and adjust "node"."inbox-reader" values to fully utilize your RPC speed
- Run "npm run start" or "docker compose up -d" in the base directory of the sparkpoint-network-node repository. This will launch the node with a public RPC reachable at http 8449
- Optionally, run "npm run logs" or "docker compose logs -f nitro" in the base directory of the sparkpoint-network-node repository to view the logs of the node
- Clone the https://github.com/sparkpointio/sparkpoint-network-node repository
- If using VPS, run sudo chmod 777 config in the base directory of the sparkpoint-network-node repository.
- Open docker-compose.yaml and replace "command: --conf.file /home/user/.arbitrum/nodeConfigTier3.json" with "command: --conf.file /home/user/.arbitrum/nodeConfigTier1-2.json"
- Open config/nodeConfigTier1-2.json file, and replace all "PRIVATE KEY" with your own private key used in purchasing the node key
- If you have a paid Arbitrum Orbit RPC, replace the "https://sepolia-rollup.arbitrum.io/rpc" with your own Arbitrum Sepolia RPC URL, and adjust "node"."inbox-reader" values to fully utilize your RPC speed
- Run "npm run start" or "docker compose up -d" in the base directory of the sparkpoint-network-node repository. This will launch the node with a public RPC reachable at http 8449
- Optionally, run "npm run logs" or "docker compose logs -f nitro" in the base directory of the sparkpoint-network-node repository to view the logs of the node