Solution: LP-0013 — Token Program Improvements: Authorities#56
Open
bristinWild wants to merge 3 commits into
Open
Solution: LP-0013 — Token Program Improvements: Authorities#56bristinWild wants to merge 3 commits into
bristinWild wants to merge 3 commits into
Conversation
✅ Validation passedA reviewer will assess against the prize criteria. Automated check. See solution template and TERMS. |
Author
|
Added the Demo Video - https://www.youtube.com/watch?v=fJWbhobNIFM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.