github solana-program/token-2022 interface@v1.0.0

latest releases: js@v0.9.0, js@v0.8.0, program@v9.0.1...
6 months ago

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.

Don't miss a new token-2022 release

NewReleases is sending notifications on new releases.