metaplex-foundation / solita

Genrates an SDK API from solana contract IDL.
Apache License 2.0
140 stars 32 forks source link

feat: support hash/btree maps #73

Closed thlorenz closed 2 years ago

thlorenz commented 2 years ago

Summary

Solita now renders bTreeMap and hashMap IDL types correctly.

The TypeScript type for both is simply Map<Key, Val> and the beet is implemented via beet.map(key, val)

An integration that renders the entire nft-packs code from the IDL generated with the latest shank was included as well.