gagliardetto / anchor-go

Generate Go clients from anchor IDLs for Solana blockchain programs
MIT License
138 stars 31 forks source link

how to use the generated IDL bindings #21

Open berlinguyinca opened 3 months ago

berlinguyinca commented 3 months ago

Hello,

could you please provide an example how to utilize the generated IDL bindings. It's not really clear to me how to even get started with decoding a given transaction description.

thank you

berlinguyinca commented 3 months ago

As update, I got a partial solution and documented it here, but this is still missing a lot of important parts of the transaction.

https://solana.stackexchange.com/questions/13029/parsing-sol-transaction-data-in-golang/13061#13061