metaplex-foundation / solita

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

Autogenerate GpaBuilders #60

Closed lorisleiva closed 2 years ago

lorisleiva commented 2 years ago

Not a priority for the JS SDK but a nice-to-have eventually.

See https://github.com/metaplex-foundation/js-next/issues/4

ohaddahan commented 2 years ago

Not a priority for the JS SDK but a nice-to-have eventually.

See metaplex-foundation/js#4

Even more critical than the PDA generators, PDA finders are easy to write. But messing with GPA offsets is a pain, autogenerating something like getAccountBy(accountType: , props:) will be great.

thlorenz commented 2 years ago

Fixed in #63 which means the core SDKs get GPA builders for free which higher level SDKs can leverage.