Solard

Raydium

Raydium quotes, swaps, LaunchLab, and CPMM.

Writes: simulation-only without --live. Live writes also require SOLARD_ENABLE_LIVE_TRADES=1.

Quotes and swaps

slrd raydium quote

Request an exact-input Raydium route quote without creating or sending a transaction.

shell
slrd raydium quote --from <SOL|token|mint> --to <SOL|token|mint> --amount <ui> [--slippage-bps 100]

Read-only.

  • The command resolves both assets, converts the UI input amount to raw units, and returns expected output plus minimum output after slippage. The documented default slippage is 100 bps.

slrd raydium swap

Build a Raydium exact-input swap for one stored wallet and simulate it unless live execution is explicitly enabled.

shell
slrd raydium swap --from <SOL|token|mint> --to <SOL|token|mint> --amount <ui> --wallet <wallet> [--slippage-bps 100] [--live]

No broadcast without --live.

LaunchLab

slrd raydium launchlab configs

List LaunchLab launch configurations, optionally filtered/resolved for a quote asset.

shell
slrd raydium launchlab configs [--quote <SOL|token|mint>]

Read-only.

slrd raydium launchlab launch

Build or execute a LaunchLab token launch, optionally including an initial buy and using a supplied/persisted mint keypair path.

shell
slrd raydium launchlab launch --wallet <wallet> --name <name> --symbol <symbol> --uri <metadata-uri> [--quote SOL|mint] [--buy <ui>] [--decimals 6] [--mint-keypair <path>] [--live]

No broadcast without --live.

  • The documented token decimal default is 6. If no explicit mint-keypair path is requested, the implementation can create and persist a mint keypair under .solard/raydium-mints.

slrd raydium launchlab buy

Build or execute a LaunchLab buy for an existing launch mint.

shell
slrd raydium launchlab buy <mint> --wallet <wallet> [--quote SOL|mint] --amount <ui> [--live]

No broadcast without --live.

slrd raydium launchlab sell

Build or execute a LaunchLab sell for an existing launch mint.

shell
slrd raydium launchlab sell <mint> --wallet <wallet> [--quote SOL|mint] --amount <ui> [--live]

No broadcast without --live.

CPMM creation

slrd raydium cpmm create

Build or execute a Raydium CPMM pool creation transaction for an arbitrary SPL/SPL pair.

shell
slrd raydium cpmm create --wallet <wallet> --mint-a <token|mint> --mint-b <token|mint> --amount-a <ui> --amount-b <ui> [--fee-config-index 0] [--start-time 0] [--live]

No broadcast without --live.

  • The CLI resolves both assets and converts the supplied UI amounts to raw token units. fee-config-index defaults to 0 and the implementation accepts start-time with a default of 0.