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

Method to get the marketAuthority(PDA) from the Market Initialization #247

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andmart
Copy link

@andmart andmart commented Sep 30, 2024

While grabbing token information to buy/sell in Raydium, I missed this method that allow to calculate pda for the marketAuthority.
I didn't find anything related, so I decided to implement myself.

Btw, nice work and I hope this PR can help.

The Reference: https://github.com/raydium-io/raydium-sdk/blob/f4b7f47e744c12a8b0119b85e16d0d8274aa5ba9/src/serum/serum.ts#L41

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.

1 participant