Solution: LP-0013 — Token Program Improvements: Authorities#56
Solution: LP-0013 — Token Program Improvements: Authorities#56bristinWild wants to merge 3 commits into
Conversation
✅ Validation passedA reviewer will assess against the prize criteria. Automated check. See solution template and TERMS. |
|
Added the Demo Video - https://www.youtube.com/watch?v=fJWbhobNIFM |
|
Note for evaluation: This submission modifies the actual LEZ token program directly - programs/token/core/src/lib.rs, programs/token/src/mint.rs, programs/token/src/set_authority.rs, and the wallet facade - rebased onto upstream HEAD (4079b0c9). The implementation is a production integration into the existing LEZ token program codebase, following the same patterns as the rest of the token program. The lez-authority crate is a standalone reusable primitive that satisfies the RFP-001 cross-reference. |
Implementation of LP-0013: mint authority model for the LEZ Token program.
Repository: https://github.com/bristinWild/logos-execution-zone (branch:
main)What's implemented:
lez-authoritycrate — agnosticAuthoritySlotlibrary (RFP-001 cross-reference)mint_authority: Option<[u8; 32]>field onTokenDefinition::FungibleNewFungibleDefinitionWithAuthorityinstruction — create token with authority from day oneMintinstruction updated — authority-gated, deterministic rejection when revokedSetAuthorityinstruction — atomic rotation and permanent revocationsend_set_authority,send_new_definition_with_authoritydocs/LP-0013-README.mdscripts/demo-full-flow.shscripts/examples/fixed_supply_token.sh,scripts/examples/variable_supply_token.shPending: CU cost measurement on devnet and narrated video demo (will update solution doc).
See
solutions/LP-0013.mdfor full details.