Quick Start
Mint Your Token
Mint new LRC-20 tokens on the Spark network
The mintTokens
function allows you to create new tokens on the Spark network after successfully announcing your token on Bitcoin L1. This is a crucial part of the token lifecycle, enabling you to establish the initial token supply or incrementally increase it over time.
Minting new tokens on the Spark network is possible immediately after a successful token announcement is confirmed on Bitcoin L1.
Example
- An LRC-20 token announced with a transaction on L1
- Possession of your issuer secret which you use to initialize your Issuer Wallet
- Basic understanding of Spark network operations
Mint Tokens
Minting tokens only requires an amount.
Important Considerations
- Each minting operation requires the original issuer’s wallet.
- Minting is subject to the maximum supply that may have been set on the initial token announcement.
- The amount to mint must be specified in base units, taking into account your token’s decimal places (e.g., for 6 decimals, 1.5 tokens would be 1_500_000 base units).
Features and Benefits
- Instant settlements (no L1 block finality requirement)
- Lower fees compared to on-chain transactions
- Immediately available to send
Next Steps
After minting your tokens, you can send and receive them on the Spark network.