Skip to main content
The SDK repository includes a CLI (src/cli.ts) that wraps most module methods. It’s useful for smoke tests and for seeding devnet pools. The CLI is not part of the published package. Run it from a clone of the SDK repository.

Environment

Tokens can be given by symbol (from the token list) or by 64-hex token ID. Amounts are in human units (1.5), and slippage is in bps.

CPMM

CLMM

Staking and others

Example session (devnet)

scripts/test_cli.sh runs a longer end-to-end sequence.