The Contract
View Contract Code
View Contract Code
How It Works
Admin authentication
_admin off chain gives an attacker the hash, not the
secret — preimage resistance means they cannot forge the proof.
Total supply invariant
sum(all balances) == _totalSupply is maintained by always updating both
sides together. Minting increases both; burning (Burning)
decreases both; transferring preserves both.
Cast back to Uint<128> on store
Uint<128>
before writing. See Overflow Protection.
Privacy Note
What’s Next
Burning Tokens
Learn how to destroy tokens
ERC20 Token
Complete token with minting