André Martins

Results 3 issues of André Martins

Hey, I am using money-parser to recognize currencies inside strings. After that, I am using num2words to replace it in the original sentence in cardinal form. For example: Original: It...

go version go1.23.1 linux/amd64 ```go package main import ( "context" "github.com/gagliardetto/solana-go" serum "github.com/gagliardetto/solana-go/programs/serum" "github.com/gagliardetto/solana-go/rpc" ) func main() { endpoint := rpc.MainNetBeta_RPC client := rpc.New(endpoint) ctx := context.Background() marketAddr := solana.MustPublicKeyFromBase58("GTpWscSoJegU3Ry3ZinMCLEnD2FAMRqNYRhG9E6UX2EY")...

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...