pump-swap-sdk docs
nirholas / pump-swap-sdk

pump-swap-sdk

Official SDK for interacting with Pump Swap AMM protocol on Solana

v1.14.0MIT
npm install @pump-fun/pump-swap-sdk

What it does

Capabilities documented in this repository.

Usage

See the full documentation for details.

Create pool

See the full documentation for details.

Deposit

See the full documentation for details.

Swap

See the full documentation for details.

Withdraw

See the full documentation for details.

Links

See the full documentation for details.

Get started

Install it, then run your first command.

npm install @pump-fun/pump-swap-sdk
CommandRuns
npm run buildtsup --clean --dts
npm run testjest
npm run linteslint src --ext .ts
npm run typechecktsc --noEmit

Read the full getting started guide

Examples

Taken directly from this repository's documentation.

npm install @pump-fun/pump-swap-sdk

More examples

Reference