Skip to content

Choose a tag to compare

@joncinque joncinque released this 04 Aug 12:10
· 202 commits to main since this release
[email protected]
690985e

What's new

Introducing spl-token-2022-interface, a lighter crate that provides all instructions and struct types used by token-2022. You can read more about how it was split out in the PR that created it: #616

Using the crate

For the most part, you should be able to drop in spl_token_2022_interface in place of spl_token_2022, and the rest should just work. The program id, state types, instructions, and extensions are all in the same place as before. The interface crate simply doesn't have on-chain specific things, like the entrypoint and instruction processors.