npm run float -- <command> [args] [flags]
# or, after `npm link -w packages/cli`:
float <command> [args] [flags]Global flags:
| Flag | Meaning |
|---|---|
--rpc <url> |
RPC endpoint; defaults to $SOLANA_RPC_URL, then https://api.mainnet-beta.solana.com |
--json |
Machine-readable output, where supported |
--csv |
CSV output (holders, burns, payouts, airdrop) |
Every Float and Raydium address, with Solscan links.
How a fee amount divides across the five buckets.
Validates a ticker and prints its launch cost. With --launched, prints the
remaining refund window; with --graduated too, whether the reuse fee was
refunded.
LaunchLab pool status: stage, curve progress, price, raised and sold amounts, fee rates, pending platform fee, and the CPMM pool address once graduated.
Quotes a bonding-curve trade: amount out, fee breakdown (protocol / platform / creator), price impact, and whether the buy graduates the coin.
Shows the coin's pending fees and how a Cycle fees would split them.
Decodes LaunchLab (PoolState, GlobalConfig, PlatformConfig,
VestingRecord), CPMM (PoolState, AmmConfig) and SPL (mint, token
account) accounts. Anything else gets its owner, size and a hex preview.
Holder snapshot, excluding pool vaults and burn addresses, with each wallet's
share of holder rewards. Needs an RPC that allows getProgramAccounts.
$FLOAT burns through the buyback & burn vault, with a total.
Transfers sent by the holder payout bot. --summary totals them per wallet
and token.
Ranks wallets for an airdrop round with the bot, wash-trade and new-pair
rules. --pot also allocates a USDC amount. Override the round with
--snapshot <iso> --since <iso> --top N.
trades.csv columns: wallet,coin,pair,side,timestamp,volume_usd[,signature]
(timestamp as ISO-8601 or unix ms). pairs-added.csv columns: pair,added_at.
Samples are in examples/.
Splits a buyback into consecutive buys that each keep price impact ≤ 1%.
Builds a bonding-curve trade, signs it with a Solana CLI keypair file and
simulates it. Add --send to broadcast.
| Flag | Default |
|---|---|
--pair |
SOL |
--slippage-bps |
100 (1%) |
--priority-micro-lamports |
50000 |
--logs |
print simulation logs |
--send |
broadcast and confirm |
For SOL pairs the transaction wraps exactly the SOL needed and closes the temporary wSOL account at the end.
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Runtime error (RPC, decoding, simulation) |
| 2 | Usage error |