Releases: blocto/solana-go-sdk
Releases · blocto/solana-go-sdk
v1.21.0
What's new?
Program
- use program full name as program package names.
- program/sysprog => program/system
- program/tokenprog => program/token
- program/stakeprog => program/stake
- program/memprog => program/memo
- program/cmtbdgprog => program/compute_budget
- program/assotokenprog => program/associated_token_account
- program/metaplex/tokenmeta => program/metaplex/token_metadata
- program/nsprog => program/name_service
all deprecated program will be removed soon.
v1.20.0
What's new?
Program
- add account lookup program
Misc
- support v0 transaction/message serialize/deserialize
- bump go v1.19
!!!BREAK!!!
- update lots rpc type #85
- extract account encode type to
AccountEncodingBase58
,AccountEncodingJsonParsed
,AccountEncodingBase64
,AccountEncodingBase64Zstd
- extract transaction encode type to
TransactionEncodingBinary
,TransactionEncodingBase64
,TransactionEncodingBase58
,TransactionEncodingJson
,TransactionEncodingJsonParsed
- extract
DataSlice
andTokenAccountBalance
- all rpc response type use generic, will use alias when go support it
- extract account encode type to
v1.19.1
v1.19.0
What's new
Client
- add get token account
- add get token accounts by owner
- add options pattern to support custom http client (thanks @adelowo )
Metadata
- support Metaplex Token Metadata Standard v1.3.0 (thanks @omarkilani)
BREAKING CHANGING
- I extracted a new struct,
AccountInfo
. if you use those types likeGetAccountInfoResultValue
,GetMultipleAccountsResultValue
,GetProgramAccountsAccount
,GetAccountInfoResultValue
, you can change it toAccountInfo
for migrating to this version.
v1.18.0
v1.17.0
What's New?
Program
Compute Budget
- add set compute unit limit instruction
- add set compute unit price instruction
Metaplex Token Metadata
- support v1.2 fields ( Thanks @omarkilani )