This repository has been archived by the owner on Jan 10, 2025. It is now read-only.
SPL Associated Token Account Program - v1.1.0
joncinque
released this
03 Aug 22:12
·
3399 commits
to master
since this release
Summary of changes
New instructions:
CreateIdempotent
: just like the normalCreate
that won't throw an error if the account already existsRecoverNested
: recover "nested" funds, where the funds are held by an account which is owned by an associated token account address
New features:
- creating an account includes the
InitializeImmutableOnwer
instruction from the Token-2022 program, making all accounts created for Token-2022 immutably owned. This feature is not supported by the Token program. - during account creation, the program queries the token program to know the size of the target account using
GetAccountDataSize
. This is most useful for Token-2022, where tokens may require more space to accommodate extensions
Release
The program was released under feature flag FaTa17gVKoqbh38HcfiQonPsAaQViyDCCSg71AubYZw8
, enable since epoch 334 on mainnet-beta.
Verification
Program verification uses the Anchor command-line interface, which can be installed by following the documentation.
The verification process builds the program in an Ubuntu container which contains the Solana CLI tools and its dependencies. More information can be found on the verifiable builds documentation.
From associated-token-account/program
, run:
$ anchor verify --solana-version 1.10.33 -b debian -d ubuntu:20.04 --provider.cluster mainnet ATaYDmFSp5AgaJRGUcHeys4uF1wzCroXPeDgT7AcU82L