Repository navigation
Releases
@sdks@2.4.0-rc.5
@sdks@2.4.0-rc.5 — 2026-11-30
🚨 Breaking Changes
- @sodax/types, @sodax/sdk — Added Tron and MPC-relay settlement, which widens shared types.
TxReturnType,RawTxReturnType,IWalletProvider,GetWalletProviderTypeandGasEstimateTypehave new Tron members, so exhaustive switches over them must handle Tron.Record<SpokeChainKey, …>maps such asmoneyMarketSupportedTokensandswapSupportedTokensneed an entry for each new chain. With a chain key typed as the wholeSpokeChainKeyunion, money marketborrow/withdrawand DEXwithdrawnow returnTxHashPair | { trackingId, dstChainTxHash }, so narrow the result before you read it. See the PR for details. (#534) by @gcranju
🚀 Features
- @sodax/sdk, @sodax/types, @sodax/wallet-sdk-core, @sodax/wallet-sdk-react — Added Tron, XRP Ledger, Monad, TON, Zcash and Cardano as MPC-relay spokes, with wallet providers and connectors. (#534, #605, #606, #607, #608, #609) by @gcranju
- @sodax/sdk, @sodax/dapp-kit, wallet packages — Added XRPL trustline setup to the swap flow. (#670) by @R0bi7
- @sodax/types, @sodax/sdk, @sodax/dapp-kit — Added Hedera HTS token association to the swap flow. (#683) by @gcranju
- @sodax/types — Added the Robinhood stock tokens on the XRP Ledger and moved them to production swaps. (#668, #712) by @gcranju
- @sodax/types — Added Cardano ADA and the XRPL equity stocks to the money market. (#711) by @AntonAndell
⚡ Improvements
- Improved the npm package metadata of the published packages. (#632) by @hazy2go
- Updated the SDK docs and
@sodax/skills: the solver fee is now described as up to 0.1%, every MPC-relay chain is named, and there is a new any-chain deposit example. (#680, #675, #682) by @gosiast and @gcranju
🐞 Bug Fixes
- @sodax/sdk — Fixed hub release selection when a fill bundles MPC payouts: the SDK now picks the release by recipient or amount. (#716) by @R0bi7
- @sodax/sdk — Bridge limits for plain Sonic tokens are now capped at the vault reserve. (#658) by @0x0603
- @sodax/sdk — The XRPL trustline reserve waiver is now applied, and refusals name
requestTrustline. (#673) by @R0bi7 - @sodax/dapp-kit —
useMMAllowancenow reports borrow and withdraw as approved. (#689) by @R0bi7
❤️ Contributors
@0x0603, @AntonAndell, @gcranju, @gosiast, @hazy2go, @R0bi7
Full changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.3.0...@sdks@2.4.0-rc.5
@sdks@2.4.0-rc.4
What's Changed
- docs(audits): add the Nov 2026 MPC relay audit and name every auditor by @gosiast in #713
- feat(types,sdk,dapp-kit): associate Hedera HTS tokens from the swap flow by @gcranju in #683
- docs: refresh stale counts, MPC-relay FAQ answers and dead explorer links by @hazy2go in #678
- fix(sdk): cap bridge limits at the vault reserve for plain Sonic tokens by @0x0603 in #658
Full Changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.4.0-rc.3...@sdks@2.4.0-rc.4
@sdks@2.4.0-rc.3
What's Changed
- docs(sdk): name every MPC-relay chain, not just Tron by @gcranju in #675
- docs(sdk,skills): describe the solver fee as up to 0.1%, not a fixed 0.1% by @gosiast in #680
- test(sdk): slim redundant unit tests to ~56% of the suite by @R0bi7 in #688
- test(wallet-sdk): slim redundant wallet-sdk-core and wallet-sdk-react unit tests by @R0bi7 in #687
- docs(types): trim redundant comments in @sodax/types by @R0bi7 in #684
- refactor(sdk): trim source comments to non-obvious constraints by @R0bi7 in #685
- fix(dapp-kit): report borrow/withdraw as approved in useMMAllowance by @R0bi7 in #689
- refactor(dapp-kit): trim comments to non-obvious notes by @R0bi7 in #686
- test(sdk): leaner, faster sdk unit suite — trim, group and share test helpers by @R0bi7 in #700
- docs(sdk): add an any-chain deposit example to the README by @gosiast in #682
- feat(types): list Cardano ADA and the XRPL equity stocks in the money market by @AntonAndell in #711
- feat(types): move XRPL Robinhood stock tokens to production swaps by @gcranju in #712
Full Changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.4.0-rc.2...@sdks@2.4.0-rc.3
@sdks@2.4.0-rc.2
What's Changed
- docs: make the Robinhood stocks FAQ and due diligence network-agnostic by @hazy2go in #661
- feat(sdk,types,wallet-sdk-core,wallet-sdk-react,dapp-kit): set up XRPL trustlines from the swap flow by @R0bi7 in #670
- feat(types,sdk): add the Robinhood stocks on the XRP Ledger by @gcranju in #668
- fix(sdk): apply the XRPL trustline reserve waiver and name requestTrustline in refusals by @R0bi7 in #673
Full Changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.4.0-rc.1...@sdks@2.4.0-rc.2
@sdks@2.3.0
🚀 Features
- @sodax/sdk, @sodax/dapp-kit, @sodax/wallet-sdk-core — Approve and swap with one signature.
swapWithApproval()sends the approval and deposit as one EIP-5792 atomic batch when the wallet supports it. Otherwise it falls back to approving first and swapping once the approval confirms.getApprovalStrategy()reports which path will run, so the UI can label the button.EvmWalletProvidergains the optionalgetAtomicBatchSupport,sendAtomicBatchandwaitForBatchmethods. The shared batch helpers are exported:resolveApprovalStrategy,sendApprovalBatch,confirmApprovalBatch,isAtomicBatchRefusal. New hooks:useSwapWithApproval,useSwapApprovalStrategy, anduseSwapLifecycle, which runs a whole swap form (approval, Stellar/NEAR checks, chain switch, swap and status) behind onestateandnext(). (#504) by @0x0603 - @sodax/sdk, @sodax/dapp-kit — One-signature approval also covers bridge and leverage-yield vault deposits:
bridgeWithApprovalandvaultSwapWithApproval, each with its owngetApprovalStrategy. The matching hooks areuseBridgeWithApproval,useBridgeApprovalStrategy,useLeverageYieldVaultSwapWithApprovalanduseLeverageYieldApprovalStrategy. For the Swaps API lane,useSwapsApiBroadcastWithApprovalbatches the approval with the intent transaction returned by/swaps/intents. (#511, #512) by @0x0603 and @R0bi7 - @sodax/sdk — Added
summarizeSwapStatus(), which reduces backend or solver status topending/solved/failed. (#504) by @0x0603 - @sodax/wallet-sdk-react — Added opt-in Privy email login as an EVM wallet:
EVM: { privy: privy({ appId }) }from the new@sodax/wallet-sdk-react/privysubpath.@privy-io/react-auth(3.40+) is an optional peer dependency, and apps that don't configure it load no Privy code. (#486) by @0x0603 and @R0bi7 - @sodax/types — Added the Robinhood stock tokens priced off the Robinhood price API as production swap tokens on Sonic, Robinhood, Stellar and Hedera: AMC, HIMS, LLY, COST, TTWO, RBLX, IBM, MRNA, LULU, SNAP, WYFI, RIVN, NFLX, BULL, QUBT, NET, SKHY, JNJ, UPS, DJT, RDDT and GLD. ANT is added on the same chains as a swap-only token. (#571, #656) by @gcranju and @FezBox
- @sodax/types — AAPL, MSFT, NVDA, GOOGL, AMZN, META, TSLA, SPCX, SPY, QQQ and GLD Robinhood Stock Tokens are now money-market collateral on Robinhood Chain, Stellar, Hedera and Sonic. Borrowing these tokens is disabled. (#634) by @AntonAndell
- @sodax/types — Added new swap assets across Arbitrum, Base, BSC, Ethereum, Robinhood, Solana, Sonic and Sui, plus sodaADA / sodaZEC vault metadata. Most are now in the production solver list (
getSupportedSolverTokens). The rest, including BSC ADA, are staging-only. (#548, #569) by @alexandre-chirouze
⚡ Improvements
- @sodax/sdk — When
swap(),bridge()orvaultSwap()fails after the source transaction is on-chain, the error now carriescontext.srcTxHashandsrcChainKey. Apps can keep pollinggetDetailedStatusinstead of treating the transfer as lost. (#504, #509) by @0x0603
🐞 Bug Fixes
- @sodax/sdk —
getDetailedStatus(swaps and leverage yield) no longer reports a cancelled intent as in flight. It checks the backend intent journal, souseDetailedStatusstops polling forever and readsFAILED, orSOLVEDif a fill consumed the remainder. (#523) by @0x0603 - @sodax/dapp-kit — After an approval confirms, the Swaps, Bridge and Leverage Yield API approve hooks now wait, up to 15s, until the API also sees it. Before, the UI could offer Approve again while the API caught up. (#586) by @0x0603
- @sodax/wallet-sdk-react — Stellar balances are now read from a single account load, instead of one request plus one simulation per token. Rate-limited reads no longer show real balances as zero. (#590) by @0x0603
- @sodax/sdk — Restored the deprecated
useBackendSubmitTxonSwapServiceConstructorParams, which broke directnew SwapService({ ... })callers. When set, it overrides the config value. (#503) by @0x0603
📚 Docs and skills
@sodax/skillsnow covers one-signature approval for the Bridge and Leverage Yield APIs, and the API path for tokens newer than the installed SDK. docs.sodax.com adds a Robinhood stocks guide, SODAX MCP swap tools, wallet-balance and leverage-position guides, and Base recipes. (#578, #584, #513, #577, #545, #563)
⚠️ Behavior Changes
- @sodax/sdk — Leverage-yield now refuses Bitcoin as a vault source or destination.
createVaultIntent/vaultSwap, and thedeposit()/withdraw()builders, returnVALIDATION_FAILED(withcontext.fieldset tosrcChainKeyordstChainKey) before anything is signed. Before, these calls accepted Bitcoin without complaint. The dapp-kituseLeverageYieldDeposit/useLeverageYieldWithdrawhooks now throw at build time for Bitcoin. There is no opt-out: Bitcoin vaults are not supported yet. (#568, #572) by @0x0603 and @R0bi7 - @sodax/types — HBAR is no longer in the money market lists. It was removed from the Stellar and Sonic
moneyMarketSupportedTokensand frommoneyMarketReserveAssets, because the lending pool has no HBAR reserve. Swaps and bridging of HBAR are unchanged. (#575) by @0x0603 - @sodax/wallet-sdk-react — Disconnecting an EVM wallet now ends every wagmi connection, not just the current one. Each disconnect has a time limit of
EVM_DISCONNECT_TIMEOUT_MS; a wallet that stalls past it gets a warning instead of being waited on. (#486) by @0x0603 and @R0bi7
❤️ Contributors
@0x0603, @alexandre-chirouze, @AntonAndell, @FezBox, @gcranju, @gosiast, @hazy2go, @paulrouge, @R0bi7
Full changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.2.0...@sdks@2.3.0
@sdks@2.4.0-rc.1
@sdks@2.4.0-rc.1
9 commit(s) since @sdks@2.3.0.
npm dist-tag: rc
Breaking changes
- feat(sdk,types)!: add Tron spoke and MPC relay settlement (#534) — gcranju
- feat(sdk,types,wallet-sdk-core,wallet-sdk-react): add XRP Ledger as an MPC-relay spoke (#606) — gcranju
- feat(sdk,types,wallet-sdk-core,wallet-sdk-react): add Monad as an MPC-relay spoke (#607) — gcranju
- feat(sdk,types,wallet-sdk-core,wallet-sdk-react): add TON as an MPC-relay spoke (#608) — gcranju
- feat(sdk,types,wallet-sdk-core,wallet-sdk-react): add Zcash as an MPC-relay spoke (#609) — gcranju
- feat(sdk,types,wallet-sdk-core,wallet-sdk-react): add Cardano as an MPC-relay spoke (#605) — gcranju
Maintenance
@sdks@2.3.0-rc.4
What's Changed
- feat(types): add ANT (Anthropic • Robinhood Token) as a swap token by @FezBox in #656
- docs: housekeeping — dapp-kit description, repeated notes → snippets by @hazy2go in #647
- docs(robinhood-stocks): make HTTP API the primary integration path by @hazy2go in #653
- docs: add supported assets section to money-market overview by @hazy2go in #651
New Contributors
Full Changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.3.0-rc.3...@sdks@2.3.0-rc.4
@sdks@2.3.0-rc.3
What's Changed
- fix(types): remove HBAR from the money market lists by @0x0603 in #575
- docs(solana): link the SODAX Solana swap starter template by @hazy2go in #579
- docs: add content lane with write/review skills and compiled docs examples by @R0bi7 in #598
- docs(robinhood-stocks): source examples from docs-examples and fix drifted claims by @R0bi7 in #599
- fix(ci): let plan check comment on pull requests and stay green while advisory by @R0bi7 in #602
- docs: fix stale Bridge API claim and dead external links by @hazy2go in #604
- docs: remove stale SDK version notes from Robinhood Chain pages by @hazy2go in #593
- docs(base): add three use-case recipes by @hazy2go in #563
- fix(wallet-sdk-react): read Stellar balances from one account load by @0x0603 in #590
- fix(demo): only list installed wallets in the wallet sheet by @0x0603 in #589
- fix(dapp-kit,demo): wait for the API to see an approval and fix the Bridge API demo page by @0x0603 in #586
- docs(skills): document the API path for tokens newer than the installed SDK by @0x0603 in #584
- docs(skills): one-signature approval for the Bridge API and Leverage Yield API by @0x0603 in #578
- docs: API-first sweep of network overviews, How To, FAQ, swap hub and tab order by @hazy2go in #619
- docs: API-first home page, latest news cards, Get Your API Key CTA by @hazy2go in #615
- docs: API-first restructure of home/sdk-stack → home/api by @hazy2go in #616
- docs: point SDK network pages and the AI guide at the HTTP API by @hazy2go in #617
- feat(playground): require the partner app ID and apply the portal fee by @paulrouge in #623
- fix(playground): send app ID signups to the portal's Swap widget tab by @gosiast in #627
- docs: fix dapp-kit overview, retitle home/api, share HTTP API notes as snippets by @hazy2go in #625
- feat(playground): add the swap widget link preview by @gosiast in #636
- docs: cover the Builders MCP swap tools by @0x0603 in #577
- feat(types): list 11 Robinhood Stock Tokens in the money market by @AntonAndell in #634
New Contributors
- @paulrouge made their first contribution in #623
Full Changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.3.0-rc.2...@sdks@2.3.0-rc.3
@sdks@2.3.0-rc.2
What's Changed
- ci: refuse a release that would move npm latest backwards by @R0bi7 in #558
- feat(types): promote swap assets to production by @alexandre-chirouze in #569
- fix(leverage-yield)!: refuse Bitcoin in vault swaps by @0x0603 in #568
- fix(leverage-yield): refuse Bitcoin in vault deposit and withdraw builders by @R0bi7 in #572
- feat(types): add the 22 Robinhood stocks priced off the Robinhood price API by @gcranju in #571
Full Changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.3.0-rc.1...@sdks@2.3.0-rc.2
@sdks@2.3.0-rc.1
What's Changed
- docs(ai): add changelog-from-prs skill for stable release notes by @R0bi7 in #514
- docs(ai): split breaking vs behavior changes in changelog-from-prs by @R0bi7 in #515
- docs(ai): credit PR authors and contributors in changelog-from-prs by @R0bi7 in #516
- feat(sdk): honor deprecated SwapService useBackendSubmitTx override by @0x0603 in #503
- docs(how-to): add Robinhood stocks guide by @hazy2go in #513
- feat(wallet-sdk-react): add opt-in Privy email login by @0x0603 in #486
- feat(sdk,dapp-kit,demo): approve + swap in one signature, unified swap status, useSwapLifecycle by @0x0603 in #504
- ci: require a linked issue or no-issue label on pull requests by @R0bi7 in #525
- docs: bring CONTRIBUTING up to date with the SDK monorepo by @R0bi7 in #524
- ci: add new issues to project 12 with Stream = SDK by @R0bi7 in #526
- ci: add spec → plan → PR issue workflow by @R0bi7 in #537
- fix(deps): clear critical next and shell-quote advisories by @R0bi7 in #538
- docs(how-to): finalize Robinhood stocks guide by @hazy2go in #530
- docs(ci): keep spec issues to outcomes, not implementation by @R0bi7 in #542
- ci: set board status from issue body on creation by @R0bi7 in #544
- feat(sdk,dapp-kit,playground): approve + intent in one signature for the swaps API lane by @0x0603 in #511
- feat(sdk,dapp-kit,demo): approve + deposit in one signature for bridge and leverage-yield vaults by @0x0603 in #512
- feat(sdk): keep srcTxHash on post-broadcast bridge and vault-swap errors by @0x0603 in #509
- fix(sdk): stop detailed status polling a cancelled intent by @0x0603 in #523
- docs: route autonomous agents through fork and pull request by @R0bi7 in #550
- chore: point repo references at gosodax/sodax-sdks by @R0bi7 in #553
- docs: add leverage positions article, wallet balances how-to and product updates by @hazy2go in #545
- feat(types): add staging-only swap assets by @alexandre-chirouze in #548
- docs: link OpenAPI specs from HTTP API reference pages by @R0bi7 in #556
- ci: unify npm publishing into one verified, credential-isolated workflow by @R0bi7 in #555
- ci: refresh sdk tarball size baseline by @R0bi7 in #564
- docs(widget): drop the ask-us-for-a-deployment fee path by @gosiast in #561
- ci: publish to npm via OIDC trusted publishing only by @R0bi7 in #565
New Contributors
- @alexandre-chirouze made their first contribution in #548
Full Changelog: https://github.com/gosodax/sodax-sdks/compare/@sdks@2.2.0...@sdks@2.3.0-rc.1