Skip to content

feat: add mint authority model for LP-0013#152

Open
youthisguy wants to merge 1 commit into
logos-blockchain:mainfrom
youthisguy:feat/mint-authority-clean
Open

feat: add mint authority model for LP-0013#152
youthisguy wants to merge 1 commit into
logos-blockchain:mainfrom
youthisguy:feat/mint-authority-clean

Conversation

@youthisguy

Copy link
Copy Markdown

LP-0013: Token Program Improvements — Mint Authority

This PR adds a mint authority model to the LEZ token program.

Changes

  • Added mint_authority: Option<AccountId> field to TokenDefinition::Fungible
  • New instruction NewFungibleDefinitionWithAuthority
  • New instruction SetAuthority (rotate or revoke to None)
  • Updated Mint instruction with early authority guard
  • Fully backwards compatible

Key Features

  • Variable supply with repeated mints to the same holding
  • Post-revocation rejection via authority guard
  • token_core SDK + SPEL IDL

- Added mint_authority: Option<AccountId> to TokenDefinition::Fungible
- NewFungibleDefinitionWithAuthority instruction
- SetAuthority instruction (rotate or revoke to None)
- Updated Mint with early authority guard
- Fully backwards compatible
- token_core SDK + regenerated SPEL IDL
- End-to-end demo script + tests
@youthisguy youthisguy force-pushed the feat/mint-authority-clean branch from e5771b8 to 7fe3393 Compare June 19, 2026 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant