dynamic-bonding-curve repository includes a Rust crate at dynamic-bonding-curve-sdk. It depends on the on-chain dynamic-bonding-curve crate and reuses program state and math types.
Install
Use the crate from the local workspace or a pinned Git revision:What It Provides
The crate is useful for Rust services, quote engines, tests, and keepers that already decode
VirtualPool and PoolConfig accounts.
Quote Inputs
All three quote helpers require current pool and config state:Exact-In Quote
swap2 exact-in mode, then apply your slippage policy before building the transaction.
Exact-Out Quote
out_amount. Apply a maximum input bound before sending the transaction.
Partial-Fill Quote
migration_quote_threshold and a full exact-in swap might cross the migration boundary.
Return Data
SwapResult2 contains the values needed by quote engines and transaction builders:

