v1.0.0
v1.0.0 — First Release
`@bankofai/sun-kit` is a TypeScript SDK for interacting with SUN.IO on the TRON network.
Features
SunAPI — Read-only HTTP client
- Full typed client for the SUN.IO open API
- Query tokens, pools, pairs, farms, positions, price history, protocol stats, and more
SunKit — On-chain wallet operations
- Swap — SunSwap V2/V3/V4 exact-input swaps with routing support
- Liquidity V2 — Add/remove liquidity on SunSwap V2 pairs
- Positions V3/V4 — Mint, increase, decrease, and collect concentrated liquidity positions
- SunPump — Buy and sell SunPump tokens
- Balances — Batch TRC-20 and TRX balance queries with allowance management
Network Support
- Mainnet, Nile testnet, and Shasta testnet
- Pre-configured contract addresses for SunSwap V2/V3/V4, Permit2, and SunPump