Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Token Extensions - Immutable Owner (Anchor)

Create token accounts whose owner field cannot be changed after creation.

See also: the repository catalog.

Major concepts

  • Immutable owner extension

Setup

From this directory (tokens/token-extensions/immutable-owner/anchor/):

pnpm install
anchor build

Prerequisites: Agave CLI (version in Anchor.toml [toolchain]), Anchor, and pnpm.

Testing

Tests run in-process with LiteSVM. No local validator.

pnpm test

This runs cargo test as configured in Anchor.toml. Tests call instruction handlers and check onchain state.

Usage

Read the program programs/ source and Anchor.toml for deployed program IDs. For deployment, use anchor build && anchor deploy against your target cluster.