bristinWild
0cb99fe031
refactor(examples): rewrite fixed/variable supply scripts to use verified spel flow
...
- replace unverified 'lgs wallet -- token' subcommands with the same spel
invocations as demo-full-flow.sh (correct flags, base58->hex authority)
- use the new --authority-account signer model
- remove misleading || true error-swallowing and false 'verified' claims;
point to the unit/integration tests that actually prove the guarantees
2026-07-02 01:16:14 +05:30
bristinWild
175c9d256c
refactor: gate mint/set_authority via lez-authority with explicit signer account
2026-07-02 01:15:03 +05:30
bristinWild
b561f91db2
fix: enforce mint authority key validation in mint and set_authority
...
- mint.rs: validate caller account_id matches stored mint_authority key
- set_authority.rs: validate caller matches mint_authority before rotation/revoke
- tests.rs: align AUTHORITY constant and fixtures to match account_id [15; 32]
- demo-full-flow.sh: fix --public flag, remove || true from spel commands,
update test count to 60
2026-07-02 01:11:53 +05:30
bristinWild
481b34a5a3
fix: correct test count in demo script summary
2026-07-02 01:11:53 +05:30
bristinWild
dab552a0db
fix: make demo script portable with configurable env vars
2026-07-02 01:11:53 +05:30
bristinWild
3ba6139b4c
docs: add program ID, CU costs, CLI usage, SDK docs, fix demo script timeout
2026-07-02 01:11:53 +05:30
bristinWild
a8863ab7ea
feat(LP-0013): add mint authority model to token program
...
- Add lez-authority crate: agnostic AuthoritySlot library (RFP-001)
- Add mint_authority field to TokenDefinition::Fungible
- Add NewFungibleDefinitionWithAuthority instruction
- Add SetAuthority instruction (rotation + permanent revocation)
- Update Mint to enforce authority guard
- Wire new instructions into guest binary
- Add 8 authority unit tests (53 total passing)
- Add LP-0013 README, IDL, demo script, and example scripts
2026-07-02 01:11:53 +05:30