Docs / Running it

Run it locally

The site on your machine, against devnet.

What you need

Node 22+, pnpm, and for the program Rust, the Solana CLI (Agave 3+ with cargo-build-sbf) and Anchor 1.1.

Steps

shell
pnpm install
pnpm dev                        # http://localhost:3000, on devnet once the pad is set up there

# The program and its tests
node scripts/build-program.mjs  # target/deploy/fomopad.so + the IDL
node scripts/solana/fixtures.mjs
cargo test -p fomopad           # 10 tests against the mainnet Meteora binaries

On devnet, with the pad set up, node scripts/solana/seed.mjs --cluster devnet launches five coins, trades them, graduates one and harvests, and leaves a Dev wallet the site offers on localhost so you can click through without an extension.