# What do I do with a lazymint voucher after generating it?

**URL:** <https://forum.openzeppelin.com/t/what-do-i-do-with-a-lazymint-voucher-after-generating-it/25630>\
**Category:** Smart Contracts\
**Created:** [March 4, 2022, 1:34am UTC](https://forum.openzeppelin.com/t/what-do-i-do-with-a-lazymint-voucher-after-generating-it/25630 "2022-03-04T01:34:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamesCabro](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.openzeppelin.com/jamescabro/32/13655_2.png) [@JamesCabro](https://forum.openzeppelin.com/u/JamesCabro)\
**Post date:** [March 4, 2022, 1:34am UTC](https://forum.openzeppelin.com/t/what-do-i-do-with-a-lazymint-voucher-after-generating-it/25630/1 "2022-03-04T01:34:08Z")

</div>

Hi, I am building an NFT exchange similar to Opensea/rarible and I have a question about lazy minting.

**Listing artwork for sale** : Assuming a user wants to list their art on my exchange. Once my code has generated a voucher based on the artwork IPFS URL, what do I do with the voucher. Do I just store this voucher in a centralized location (my database)?

**Buying the artwork** : And then later on when the buyer clicks to buy the item from my exchange, my NFT exchange should then call the redeem function in the lazymint smart contract.

Did I get this correct?

```auto

My sample voucher: 
{
  tokenId: 1,
  uri: 'ipfs://bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi',
  minPrice: 0,
  signature: '0x7783250583ab9d4ae598e3570713e67ccfe403724f31bb2f2127971939b8e49833324b0759bba5c7128b3d7c6724d9350b8ab7a989ad2cdf1bd431fa9967c22f1b'
}

```
