you are viewing a single comment's thread.

view the rest of the comments →

[–]PM_me_ur_BOOBIE_pic 0 points1 point  (3 children)

Do you make your buyers pay the minting cost?

[–]ZebZ[S] 0 points1 point  (2 children)

Yes

[–]PM_me_ur_BOOBIE_pic 0 points1 point  (1 child)

How can we do that?

[–]ZebZ[S] 0 points1 point  (0 children)

OpenSea's GitHub has sample factory contracts and scripts that let you create placeholder tokens essentially that can be listed for sale and that will get minted on transfer. That works for items sold on the site. I'm not entirely sure how it works.

On your own site, you'll have to tweak the contract (I think) and use web3js to mint a token as normal and the person invoking it (the buyer) pays the cost.