Getting Started

Create a project, add a node, and test its API key.

Setup

  1. Create your account

    Open the cubestech dashboard and sign in.

  2. Create a project

    Name the project after your app or environment.

  3. Add a Solana node

    Pick your plan and finish node setup. The node page shows your endpoints and API key.

  4. Store the key

    Save the key as NODE_API_KEY. Do not commit the value.

Test RPC

bash
export NODE_API_KEY="YOUR_API_KEY"

curl https://api.mainnet-beta.solana.com \
  -H "Content-Type: application/json" \
  -H "x-api-key: $NODE_API_KEY" \
  -d '{"jsonrpc":"2.0","id":"health","method":"getHealth"}'

Expected result:

json
{
  "jsonrpc": "2.0",
  "result": "ok",
  "id": "health"
}

Test your next product