Expand description
§sendfun-sdk
Rust SDK for the send.fun programs on Solana.
launchpad: token creation, bonding curve trades, migration.dex: AMM trades after migration.nexus: staking and partner fees.
The SDK builds instructions, decodes accounts and events, and calculates quotes. It does not send transactions.
§Install
cargo add sendfun-sdkOptional features:
fetch: RPC account fetchers such aslaunchpad::accounts::fetch_bonding_curve.serde:SerializeandDeserializeon accounts, events and types.anchor:anchor-langinterop for on-chain callers.
§Rules
- Read
platform_configfrom the bonding curve or the pool. Do not use your own platform key. - A partner other than
DEFAULT_PARTNERmust sign. - Get a platform key with
constants::find_platform_address(slug). - Do not edit the
generatedmodules. They come from the program IDLs.
§Documentation
§License
MIT, see the LICENSE file.