Skip to content

Rango: Add Sui support#448

Open
j0ntz wants to merge 2 commits intomasterfrom
jon/rango-sui-support
Open

Rango: Add Sui support#448
j0ntz wants to merge 2 commits intomasterfrom
jon/rango-sui-support

Conversation

@j0ntz
Copy link
Contributor

@j0ntz j0ntz commented Mar 26, 2026

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

Initial commit is identical to an external contribution: #406


Note

Medium Risk
Adds a new transaction type/flow (SUI) to the Rango swap plugin, which affects quote-to-transaction construction and could break swaps if the upstream payload or decoding assumptions are wrong.

Overview
Adds SUI support to the rango DEX plugin by accepting tx.type: 'SUI' responses and converting Rango’s unsignedPtbBase64 into a MakeTx flow (using base64 decode) with swap metadata.

Refactors swap order construction to reuse a common swapOrderBase (shared metadataNotes/expiration/etc.) across EVM/Solana/Cosmos/Sui, and updates the CHANGELOG with the new capability.

Written by Cursor Bugbot for commit cc692f8. This will update automatically on new commits. Configure here.

@j0ntz j0ntz force-pushed the jon/rango-sui-support branch from 3afa7af to 7b9b651 Compare March 26, 2026 23:15
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants