> ## Documentation Index
> Fetch the complete documentation index at: https://mintlify.com/Ge0frey/nullgraph/llms.txt
> Use this file to discover all available pages before exploring further.

# Prerequisites

> Required software and tools to build and run NullGraph

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:

```bash theme={null}
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

Verify the installation:

```bash theme={null}
rustc --version
```

### Solana CLI

The Solana command-line tools are required for deploying and interacting with the program.

**Version Required:** v1.18 or higher

```bash theme={null}
sh -c "$(curl -sSfL https://release.solana.com/stable/install)"
```

Verify the installation:

```bash theme={null}
solana --version
```

<Note>
  After installation, you may need to add Solana to your PATH. Follow the instructions displayed after the installation completes.
</Note>

### Anchor CLI

NullGraph uses Anchor framework for Solana program development.

**Version Required:** v0.31.1

Install via cargo:

```bash theme={null}
cargo install --git https://github.com/coral-xyz/anchor --tag v0.31.1 anchor-cli
```

Verify the installation:

```bash theme={null}
anchor --version
```

### Node.js

The frontend application and build scripts require Node.js.

**Version Required:** v18 or higher

Download and install from [nodejs.org](https://nodejs.org/) or use a version manager like nvm:

```bash theme={null}
# Using nvm
nvm install 18
nvm use 18
```

Verify the installation:

```bash theme={null}
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](https://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"

<Warning>
  NullGraph currently deploys to **Solana Devnet**. Ensure your wallet is set to Devnet before interacting with the application to avoid transaction errors.
</Warning>

### Solana Wallet for Deployment

If you plan to deploy the program yourself, you'll need a filesystem wallet with devnet SOL:

```bash theme={null}
# 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](/getting-started/setup) to build and deploy NullGraph.
