Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

SPL TLV Account Resolution - v0.2.0

Compare
Choose a tag to compare
@buffalojoec buffalojoec released this 26 Jun 23:32
· 2509 commits to master since this release
ce92702

Library for working with TLV structures - and the Type-Length-Value library - to manage one or more account data buffers with TLV entries for extra accounts required by an instruction.

In short, when a program implements an interface (and possibly other use cases as well), this program must require some set of accounts - as defined by the interface - but may also require a set of additional accounts that are specific to its implementation.

With this library, a developer can place TLV entries into an account's data (a PDA dubbed a "validation account" in many areas of this library), and then those extra required accounts can be queried!

Breaking

  • Upgraded Solana crates to version 1.16, which depend on borsh 0.10 instead of 0.9. Users must also upgrade to borsh 0.10