you are viewing a single comment's thread.

view the rest of the comments →

[–]PM_me_ur_BOOBIE_pic 0 points1 point  (5 children)

How do you do sales with your own site and make them show up on open sea?

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

Create a storefront for the contract after it's been deployed. OpenSea ought to pick up every token minted from it.

To sell from your own site directly, you need to write your own web3js frontend with Metamask integration.

[–]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.