Quickstart
Create your first virtual testnet and send a transaction.
1. Get an API key
Open app.octaze.dev → Account → API keys → Create key. Copy it once and store it as an environment variable:
export OCTAZE_API_KEY=ok_xxxxxxxxxxxxxxxxxxxx2. Install the SDK
npm install @octaze/sdk3. Fork mainnet and use it
import { Octaze } from "@octaze/sdk";
const octaze = new Octaze({ apiKey: process.env.OCTAZE_API_KEY! });
// Spin up a private fork of Solana mainnet
const net = await octaze.testnets.create({ name: "quickstart" });
// Fund a wallet — free and unlimited
await octaze.faucet.sol(net.id, wallet, 10);
// Use it as a drop-in @solana/web3.js connection
const connection = await octaze.connection(net.id);
const slot = await connection.getSlot();
// Tear it down when you're done
await octaze.testnets.delete(net.id);That's the whole loop: fork → fund → use → trace → tear down. Continue with the SDK reference.