Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
85 views

How to accurately calculate token price using bonding curves?

How to accurately calculate token price using bonding curves? I'm fetching account info for the bonding curve: from solders.pubkey import Pubkey from construct import Struct, Int64ul from solana.rpc....
0 votes
0 answers
105 views

Why is the raydium API swap code so problematic

Currently i am using the following code to perform swaps on raydium: https://github.com/raydium-io/raydium-sdk-V2-demo/blob/master/src/api/swap.ts However often it returns the error: ...
0 votes
1 answer
184 views

What determines the fee payer on a token swap?

On a CEX both parties will, depending on their respective volumes of trading, typically pay a fee to buy and sell a pair. One will be the maker the other the taker and fees will change accordingly. ...