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

[todo] Swap endpoint #5

Open
jordaaash opened this issue Jan 2, 2022 · 0 comments
Open

[todo] Swap endpoint #5

jordaaash opened this issue Jan 2, 2022 · 0 comments

Comments

@jordaaash
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently the only endpoint is transfer which will pay Octane with an SPL token. This requires the operator of Octane to periodically replenish their wallet with SOL.

Additionally, transferring SPL tokens is nice, but doesn't easily give the user a way to get SOL, which they could use for their own transactions that may require more flexibility.

Describe the solution you'd like
An endpoint that allows swaps from SPL tokens to SOL -- for example, using Serum's upcoming Swap instruction or an AMM -- could allow Octane and the user to receive SOL.

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