Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pay - Sardine On-Ramp #287

Open
BellringerQuinn opened this issue Feb 18, 2025 · 0 comments
Open

Pay - Sardine On-Ramp #287

BellringerQuinn opened this issue Feb 18, 2025 · 0 comments

Comments

@BellringerQuinn
Copy link
Collaborator

Add Sardine On-Ramping capabilities to the SDK

Ridl: https://github.com/0xsequence/stack/blob/master/api/proto/api.ridl#L810

Specifically, we need to integrate the following endpoints:

  • SardineGetClientToken -> This is used to generate the on-ramp link
  • SardineGetSupportedRegions
  • SardineGetSupportedFiatCurrencies
  • SardineGetQuote -> This can be used to get a quote for on-ramping (so we can estimate how much it would cost users from within an app)

The most important is SardineGetClientToken

You should also export a function that, given a SardineGetClientToken, returns the on-ramp link - Unity example: https://github.com/0xsequence/sequence-unity/blob/Feature/marketplaceCheckout/Packages/Sequence-Unity/Sequence/SequenceSDK/Pay/Sardine/SardineCheckout.cs#L145

Unity Sardine code can be found here: https://github.com/0xsequence/sequence-unity/tree/Feature/marketplaceCheckout/Packages/Sequence-Unity/Sequence/SequenceSDK/Pay/Sardine
Not all of it is relevant immediately to this ticket, so look for code relevant to those endpoints

Please include BP support

@BellringerQuinn BellringerQuinn changed the title Sardine On-Ramp Pay - Sardine On-Ramp Feb 18, 2025
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

No branches or pull requests

1 participant