A complete developer reference for every public method a builder can call across the 16 Saturn contracts. Multi-pool AMM, bonds, rentals, options, syndicates, flash arbitrage, limit orders, prediction markets, and agent vaults — all in one coordinated protocol.
Admin, pools, liquidity, swaps, fees, NFT certificates, rewards, router.
Securitized fee streams, franchise pool rentals, fee-rate options, and crowdfunded syndicates.
On-chain primitives built for AI agents: flash arb, limit orders, prediction markets, and strategy vaults.
Saturn contracts are deployed on Phantasma. Use the
phantasma-sdk-ts or any Phantasma-compatible library to call them.
Every write method requires the caller to be a wallet witness; read methods can
be called from anywhere.
npm install phantasma-sdk-ts
const api = new PhantasmaAPI(rpcUrl);
const result = await api.invokeRawScript('main', script);
// Build scripts targeting contracts like
// "saturnrouter", "saturnpools", "saturnswap", etc.
// Use Poltergeist / Ecto or phantasma-ts transaction builder
// to call public methods like saturnswap.swap(...)
// The user signs; the wallet becomes the witness.
// Ready-made scripts for every Saturn contract:
// https://github.com/Infinite-Star-Studios/
// SaturnDex4ExampleScripts
git clone https://github.com/Infinite-Star-Studios/SaturnDex4ExampleScripts.git
saturnadmin, saturnpools,
saturnliquidity, saturnswap, saturnfees,
SATURN (the NFT token), saturnrewards,
saturnrouter, saturnbonds, saturnrental,
saturnfeeopts, saturnsyndicate, saturnarb,
saturnlimit, saturnpredict, saturnvaults.
Join the Saturn builder community, grab ready-to-run example scripts, and ship faster on Phantasma.