Skip to content
hopper
Get started
docs

Hopper docs

Start with your first program, then go as deep as you need: account layouts, CPIs and tokens, migrating existing programs, the CLI, and the self-audit.

These docs cover the published 0.5.0 release, except where a page says it describes main. Benchmarks carry their date and commit.

Start

token-receipts

Verify token payouts

Set a minimum receipt for escrow releases, claims, and treasury payouts, including transfer fees.

Read web doc ->
treasury

Delegated SOL treasury

Fund a treasury and enforce operator, budget, freeze, cooldown, and rent rules on withdrawals.

Read web doc ->
token-escrow

Funded token escrow

Classic SPL Token custody, atomic exchange, maker refunds, and explicit token policy.

Read web doc ->
governance

Governance and DAOs

Member-approved SOL custody, expiring payouts, permissionless execution, and revocation.

Read web doc ->
use-cases

Build your application

Trading, claims, and NFT markets: available examples, building blocks, and integrations you supply.

Read web doc ->
named-initialization

Named initialization

Create typed state with named values and application-defined inputs.

Read web doc ->
byte-allowance

On-chain byte allowance

A four-cell application quota program with captured selectors, delegate checks, revisions, and strict byte policies.

Read web doc ->
release-status

Release and audit status

The published 0.5.0 registry release, verified package checksums, dated program evidence, and remaining audit work.

Read web doc ->
first-five

First five minutes

The shortest path through account declarations, typed contexts, handlers, dynamic tails, and raw escape hatches.

Read web doc ->
start

Getting started serious

Install Hopper, scaffold a program, and ship a complete first workflow.

Read web doc ->
why-hopper

Why Hopper

Build programs that move funds, read state in place, and enforce application rules on chain.

Read web doc ->
writing

Writing programs

Layouts, contexts, policies, receipts, and the program structure Hopper expects.

Read web doc ->
token-2022

Token-2022 guide

Validate Token-2022 ownership and extensions, and initialize exact-size mints with explicit extension plans.

Read web doc ->
tail-lab

Tail lab example

Bounded dynamic fields, TailStr, TailBytes, init helpers, and account wrappers.

Read web doc ->
styx-ferry-messaging

Styx ferry messaging

Forward-secret messaging and VSL ferry proof control plane using Hopper crypto, precompile checks, and verifier CPI paths.

Read web doc ->
protocol-examples

Program examples

Examples that combine policies, typed contexts, dynamic state, schemas, and operational tooling.

Read web doc ->

Model

Migration

migration-0-6

Preparing for Hopper 0.6

Checked wire contracts, alias-preserving metadata, and explicit client compatibility.

Read web doc ->
framework-boundaries

Choosing a zero-copy boundary

Source-pinned comparisons with Pinocchio, Pina, Quasar, and Anchor v2.

Read web doc ->
from-pinocchio

Write lower-level programs

Use account views, checked CPI, and syscalls directly, with explicit validation and workload tests.

Read web doc ->
migration-0-4

Moving to Hopper 0.4

Matching derive versions, corrected overlays, and stricter memory bounds.

Read web doc ->
migration-0-5

Moving to Hopper 0.5

Two readers that close unsound borrows, the versions that follow from them, and what is new.

Read web doc ->
lazy-migration

Lazy migration at bind

Declare the previous layout version on a field and every instruction becomes a migration crank, typed, in place, measured live on devnet.

Read web doc ->
dynamic-fields

Bounded account fields

Bounded strings and vectors with Hopper layout fingerprints and migration-aware capacities.

Read web doc ->
collections-resizing

Collections and safe resizing

Bounded fields, growable Seq, stable-ID Slab, and rent-safe grow or fit migrations over account bytes.

Read web doc ->
dynamic-tails

Dynamic account tails

Final TailStr and TailBytes regions for deliberate remaining-byte account designs.

Read web doc ->
program-migration

Program migration

How to map account constraints, IDL expectations, and program structure into Hopper.

Read web doc ->
program-capabilities

Program capabilities

Account lifecycle, asset movement, governance, integration APIs, and their boundaries.

Read web doc ->
bounded-multisig

Bounded multisig

Real member signatures, bounded storage, and SOL deposits and withdrawals.

Read web doc ->

Operations

network-baseline

Current network baseline

October 7, 2026 feature observations, tested syscall limits and sysvar consistency findings.

Read web doc ->
solana-baseline

Solana compatibility baseline

Finalized feature and rent observations with explicit transaction and deployment limits.

Read web doc ->
solana-network

Solana network compatibility

September 30 local / October 1 UTC public-cluster observations, Alpenglow on devnet and testnet, and on-chain Clock semantics.

Read web doc ->
self-describing-transactions

Self-describing transactions

Opt-in byte-range touch maps for Hopper-tracked acquisitions, with raw escapes and partial maps kept outside completeness claims.

Read web doc ->
tx-tooling

Manifests and tx tooling

Manifest generation, versioned ELF interface binding, and the no-Node hopper tx send / tx explain loop.

Read web doc ->
effect-verification

Offline effect verification

How Grillo recomputes mutation containment, what its PASS proves, and why it has no on-chain deployment rent.

Read web doc ->
schema

Schema architecture

Program manifests, layout IDs, Hopper IDL, Codama JSON, lossless Solana IDL projection, and compatibility diffs.

Read web doc ->
onchain-schema

On-chain schema proposal

A clearly labeled design for future manifest pointers, separate from the shipped Program Metadata IDL path.

Read web doc ->
cli

CLI reference

Schema export, account inspection, explain, manager, profiling, publish checks, and client generation.

Read web doc ->
client-generation

Client generation

Generate TypeScript, Kotlin, Python, Go, C, and off-chain Rust clients from one Hopper manifest.

Read web doc ->
manager

Hopper manager

Operator-facing manifest fetch, decode, identify, summary, invoke, receipt, and crank tools.

Read web doc ->
profiling

Profiling

Static SBF ELF analysis, folded-stack output, flamegraph export, and benchmark provenance.

Read web doc ->
cu-costs

CU costs

Compute-unit notes for validation, loading, receipts, events, and access tiers.

Read web doc ->
benchmarks

Benchmark policy

How Hopper reports same-provenance performance data without overclaiming.

Read web doc ->

Safety