Skip to content

sparkpointio/sparkpoint-network-node

Repository files navigation

sparkpoint-network-node

These scripts will help you run a node on the SparkPoint Network Testnet

Requirements

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

Minimum hardware specs (Linux)

  1. CPU: 4 Cores
  2. RAM: 4 GB
  3. Storage: 20 GB

Node Key

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.

  1. Go to Arbitrum Sepolia Explorer - Node Key Contract
  2. Go to Write as Proxy and Connect to Web3
  3. 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
  4. Then click write, and confirm transaction from your Metamask

Instructions

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.

For Tier 3 holders follow steps below

  1. Clone the https://github.com/sparkpointio/sparkpoint-network-node repository
  2. If using VPS, run sudo chmod 777 config in the base directory of the sparkpoint-network-node repository.
  3. Open config/nodeConfigTier3.json file, and replace all "PRIVATE KEY" with your own private key used in purchasing the node key
  4. 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
  5. 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
  6. 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

For Tier 1-2 holders, follow steps below

  1. Clone the https://github.com/sparkpointio/sparkpoint-network-node repository
  2. If using VPS, run sudo chmod 777 config in the base directory of the sparkpoint-network-node repository.
  3. Open docker-compose.yaml and replace "command: --conf.file /home/user/.arbitrum/nodeConfigTier3.json" with "command: --conf.file /home/user/.arbitrum/nodeConfigTier1-2.json"
  4. Open config/nodeConfigTier1-2.json file, and replace all "PRIVATE KEY" with your own private key used in purchasing the node key
  5. 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
  6. 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
  7. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published