thirdweb-example / shopify-sell-nfts

Sell NFTs in FIAT currency using a Shopify store and webhooks!
17 stars 13 forks source link

Does inventory sync with total supply? #1

Open mykcryptodev opened 1 year ago

mykcryptodev commented 1 year ago

If I follow this implementation and also offer users to mint my tokens with their wallet on-chain, will shopify's inventory get out of sync with my contract's total supply?

I would hate for someone to buy something on shopify but then have the mint fail because it exceeds the total supply.

I understand that this is a proof of concept so I wouldn't expect it to cover everything but I'm just curious

SimRunBot commented 1 year ago

From the Article:

For each product, we'll upload the same metadata that we did for our NFTs; as well as the same supply for each NFT. This way, we'll have a Shopify product for each NFT that we want users to be able to mint.