Flash Mint
Flash Minting
Temporary token issuance returned and burned in one transaction
Definition
A flash mint temporarily creates the issuer’s own token for use within one transaction, requiring the minted principal to be returned and burned before completion, plus any fee. It does not require that amount to already sit in a lending pool.
Example
A hypothetical issuer flash-mints 1 million tokens with a 0.01% fee. The receiver must return 1,000,100 tokens; 1 million of principal is burned and 100 tokens cover the fee under the issuer’s rules.
How it works
The token contract mints to a receiver and invokes a callback. After the receiver’s operations, it verifies repayment and burns principal, restoring the principal supply change atomically.
Risks to Consider
- Supply-sensitive vote or price calculations can be manipulated intratransaction
- Unsafe callbacks or approvals can expose the receiver’s funds
- Insufficient repayment reverts the operation but still costs gas
Common Questions
How is a flash mint different from a flash loan?
A flash loan draws existing assets; a flash mint creates temporary native-token supply. Both require same-transaction settlement, but their available amount and integration risks differ.
