Developer Tools

Everything you need to build, test, and deploy on Suprana

Command Line Tools

suprana

Main CLI tool for interacting with the Suprana blockchain.

# Install (add to PATH)
export PATH="$HOME/suprana/bin:$PATH"

# Configure
suprana config set --url http://localhost:8899

# Check balance
suprana balance

# Transfer SUP
suprana transfer <ADDRESS> 10
Full CLI Reference →

suprana-keygen

Generate and manage keypairs for Suprana wallets.

# Generate new keypair
suprana-keygen new

# Recover from seed phrase
suprana-keygen recover

# Display public key
suprana-keygen pubkey wallet.json

suprana-test-validator

Local validator for testing and development.

# Start test validator
./bin/suprana-test-validator

# With custom configuration
suprana-test-validator --reset --quiet

Token Tools

spl-token

Create and manage SPL tokens on Suprana.

# Install
cargo install spl-token-cli

# Create token
spl-token create-token

# Create token account
spl-token create-account <TOKEN_MINT>

# Mint tokens
spl-token mint <TOKEN_MINT> 1000

# Transfer tokens
spl-token transfer <TOKEN_MINT> 100 <RECIPIENT>
Token Creation Guide →

Development Frameworks

Anchor

The most popular framework for Suprana program development.

# Install Anchor
cargo install --git https://github.com/coral-xyz/anchor avm
avm install latest
avm use latest

# Create new project
anchor init my_project

# Build
anchor build

# Test
anchor test

# Deploy
anchor deploy
Smart Contracts Guide →

@solana/web3.js

JavaScript/TypeScript SDK for Suprana applications.

# Install
npm install @solana/web3.js

# Usage
import { Connection, PublicKey } from '@solana/web3.js';

const connection = new Connection('http://localhost:8899');
const balance = await connection.getBalance(publicKey);
Developer Guide →

Build Tools

cargo build-bpf

Compile Rust programs to BPF bytecode for Suprana.

cargo build-bpf

solana-test-validator

Local blockchain for testing and development.

Test environment

anchor test

Run automated tests for your programs.

Testing framework

Documentation

Comprehensive guides to help you build on Suprana