Minting Proofs
Minting is the process of creating new Proofs by paying a lightning invoice issued by the mint. This is a three step process:
- Request the mint quote for amount
x
- Settle the attached payment request
- Mint Proofs
const quoteRes = await wallet.createMintQuote(21);
const paymentRequest = quoteRes.request;
// Settle the payment request, then proceed
const proofs = await wallet.mintProofs(21, quoteRes.quote);
Options
mintProofs
accepts a range of options to control the shape of the minted Proofs. Check out the API Reference for more information