Skip to content

Conversation

@calintje
Copy link
Contributor

@calintje calintje commented Feb 19, 2025

Add information on SparseSwap updates to docs

  • Crossing uninitialized tick arrays for swaps and swap-quotes
  • Supply additional tick array accounts with swapV2
  • Program handled ordering of tick array accounts

Source: https://www.notion.so/orcaso/SparseSwap-Support-053c80f5542d4b22bda641544c5045dc?pvs=4

Updated section
Screenshot 2025-02-18 at 19 38 35
Screenshot 2025-02-18 at 19 38 46

Copy link
Collaborator

@yugure-orca yugure-orca left a comment

Choose a reason for hiding this comment

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

Thanks for the update!
LGTM with 1 nit

Our SDKs account for the possibility of uninitialized tick arrays and can reliably generate valid swap quotes. We highly encourage you to use one of our official SDKs:
- TS Whirlpools SDK
- Rust Whirlpools SDK
- TS Legacy SDK (version > 0.13.14)
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Based on the Notion desc, minimum version requirement for Legacy SDK is 0.13.4, is there any reason to require > 0.13.14 ? (I think that only the latest version (0.13.15) satisfies this requirement) 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's a mistake from my side. Will fix and merge. Thanks for the review!

@calintje calintje enabled auto-merge (squash) February 20, 2025 00:56
@calintje calintje merged commit dfebc3a into main Feb 20, 2025
6 checks passed
@calintje calintje deleted the calintje/sparse-swap branch February 20, 2025 01:05
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.

3 participants