raydium-io / raydium-library

9 stars 26 forks source link

amm_program #1

Open MYMEILE opened 4 months ago

MYMEILE commented 4 months ago

I want to know about it let amm_program = Pubkey::from_str("675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8")?; let amm_pool_id = Pubkey::from_str("DSUvc5qf5LJHHV5e2tD184ixotSnCnwj7i4jJa4Xsrmt")?; What does it refer to specifically? 20240420-120419

loncrypto commented 2 months ago

Im also having the same issue with this repo. While trying to find pool keys wong keys are being returned for mainnet. Or I am doing some things wrong. Have been trying to solve it out for 5 days but couldnt find any help anywhere.

popconst commented 1 week ago

Had the same thing. Ended up using borsh to unpack the accout.data into the AmmInfo struct taken directly from the raydium-amm