You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix metadata: use 4-account TokenMetadataInitialize CPI matching spl-token-metadata-interface spec
Match the Anchor/spl-token-metadata-interface::instruction::initialize account layout:
0: metadata (= mint, writable)
1: update_authority (= payer, readonly)
2: mint (= mint, readonly, dup of 0)
3: mint_authority (= payer, writable+signer, dup of 1)
The mint is pre-funded with lamports for the full size in create_account, so
no explicit payer/system_program accounts are needed for the realloc.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments