Skip to main content
Before you begin working with NullGraph, ensure you have the following tools installed and configured on your system.

Required Software

Rust

NullGraph’s Solana program is written in Rust. Install the latest stable version using rustup:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Verify the installation:
rustc --version

Solana CLI

The Solana command-line tools are required for deploying and interacting with the program. Version Required: v1.18 or higher
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
Verify the installation:
solana --version
After installation, you may need to add Solana to your PATH. Follow the instructions displayed after the installation completes.

Anchor CLI

NullGraph uses Anchor framework for Solana program development. Version Required: v0.31.1 Install via cargo:
cargo install --git https://github.com/coral-xyz/anchor --tag v0.31.1 anchor-cli
Verify the installation:
anchor --version

Node.js

The frontend application and build scripts require Node.js. Version Required: v18 or higher Download and install from nodejs.org or use a version manager like nvm:
# Using nvm
nvm install 18
nvm use 18
Verify the installation:
node --version
npm --version

Wallet Setup

Phantom Wallet

NullGraph requires a Solana wallet for transaction signing. Install the Phantom browser extension:
  1. Visit phantom.app
  2. Download and install the browser extension
  3. Create a new wallet or import an existing one
  4. Important: Switch your Phantom wallet to Devnet
    • Open Phantom
    • Click Settings (gear icon)
    • Select “Developer Settings”
    • Change network to “Devnet”
NullGraph currently deploys to Solana Devnet. Ensure your wallet is set to Devnet before interacting with the application to avoid transaction errors.

Solana Wallet for Deployment

If you plan to deploy the program yourself, you’ll need a filesystem wallet with devnet SOL:
# Generate a new keypair
solana-keygen new --outfile ~/.config/solana/nullgraph.json

# Airdrop devnet SOL for deployment
solana airdrop 2 --url devnet

System Requirements

  • Operating System: Linux, macOS, or Windows (with WSL2)
  • Memory: At least 8GB RAM recommended
  • Disk Space: 10GB free space for dependencies and build artifacts

Next Steps

Once you have all prerequisites installed, proceed to Setup to build and deploy NullGraph.

Build docs developers (and LLMs) love