This program demonstrates the usage of Token-2022 extension using Anchor CPI. For more details, visit Extension Guide page.
- Confidential transfer extension work is in progress.
initialize_group
andinitialize_member
instructions are not working therefore the code is commented out.- This code is unaudited. Use at your own risk.
- rustc 1.75.0
- solana-cli 1.18.0
- anchor 0.29.0
- node v20.11.0
- yarn 1.22.19
$ ./test-validator.sh # new terminal
$ yarn or npm install
$ anchor run all # please check the available individual test-cases in Anchor.toml