Deployment
This program is available on devnet and testnet.
Verification
This build provided on the release uses solana-verifiable-build.
You can verify it by checking out the repo at this commit and running:
$ solana-verify build --library-name spl_token_2022
Once the program is built, it's possible to verify it by running:
$ solana-verify get-executable-hash target/deploy/spl_token_2022.so
5e888b294bd1941bfc47107a73d5e40bb24fde0d639f69099e7920ad8b6413d9
Public verification of the build is provided by OtterSec's public API:
solana-verify verify-from-repo https://github.com/solana-program/token-2022 --program-id TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb --library-name spl_token_2022 --commit-hash 8867f751c0f69367ba03af4f85510b5611989491
IDL is uploaded with the program-metadata program:
npx @solana-program/program-metadata@latest fetch idl TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb --output ./idl.json
Highlights
This build contains optimizations for transfer hooks and support for memo v4 in the memo-transfer extension.
What's new
- Publish spl-token-2022 v11.1.0 by @github-actions[bot]
- Use mollusk for program tests (#1468) by @febo
- Bump tlv-account-resolution (#1431) by @joncinque
- Enforce CPI Guard for WithdrawExcessLamports on token accounts (#1196) by @bit2swaz
- Interface publish follow up (#1262) by @grod220
- Add allocation-free account length helper (#1231) by @grod220
- Use memo program v4 (#1212) by @febo