burn to mint

tldr of the app is

admin sets what nfts need to be burned from a collection for a new nft to be minted

admin page shows them all their nft types in like a grid, they click stuff to select those types of nfts

and its added to a shopping cart type thing under the grid

then in that, they select the number of nfts for each of the type they selected

then next step ( new page sort of or even under the cart works )

next they enter all the metadata needed for the new nft to be minted by the users who burn the above selected ones

then they save everything

this saved data is shown alongside some basic analytics


next is mint page (home)

this is very simple

user connects wallet

while scanning we show them what nfts exist and dont from their wallet and the admin’s constraints

then if everything is there (green) we allow them to mint

if not, we show the error visibly ( x nft type doesnt exist; y nft type has only 1/3 needed )

if everythjng exists, basically show all the types as green border or sm

and allow them to mint from the data set by admin

after mint is done, we show them the minted nft and txn link etc


now im working on a more optimized way to burn nfts so that we can support more than just 1 nft

dripcraft todo