Minting
Minting is the process of depositing NFTs into a vault and receiving vTokens.
How Minting Works
- Approve - Grant the vault permission to transfer your NFT
- Mint - Call the mint function with your token ID(s)
- Receive - Get 1 vToken per NFT deposited
Minting Multiple NFTs
You can mint multiple NFTs in a single transaction:
- Select multiple NFTs in the UI
- One approval covers all NFTs (if using
setApprovalForAll) - Gas efficient batch minting
Eligibility Check
Before minting, the vault checks if your NFT is eligible:
- If eligibility is "all", any token ID is accepted
- If eligibility is restricted, only whitelisted IDs work
- Ineligible NFTs will cause the transaction to revert
vToken Distribution
When you mint:
- You receive exactly 1 vToken per NFT
- vTokens are minted to your wallet address
- The NFT is transferred to the vault contract
After Minting
Your vTokens can be:
- Held in your wallet
- Traded on DEXs
- Used in DeFi protocols
- Redeemed for NFTs later
Fees
Minting is free (0% fee). This encourages liquidity provision.