in a second terminal window:
โ๏ธ Edit the artwork manifestartwork.js
with all of your art, then upload it to IPFS:
in a third terminal window:
artwork.json
(if uploaded and deployed correctly) should show a gallery of possible NFTS to mint:First callgetRandomNumber()
from thedebug contracts
tab:
Wait for therandomResult
to get set:
Finally, mint from thegallery
tab and your NFT will have atokenStrength
:
Debug Contracts
tab to figure out what address is the owner
of YourCollectible
?deploy.js
in packages/hardhat/scripts
YourCollectible.sol
in packages/hardhat/contracts
App.jsx
in packages/react-app/src
yarn wallet
and yarn fundedwallet
cd packages/react-app
and then yarn add PACKAGE
Change thedefaultNetwork
inpackages/hardhat/hardhat.config.js
yarn generate
yarn account
(You'll need to fund this account. Hint: use an instant wallet to fund your account via QR code)artwork.json
file and run:โ๏ธ Edit your frontendApp.jsx
inpackages/react-app/src
to change thetargetNetwork
to wherever you deployed your contract:
Add your contract to OpenSea ( create -> submit NFTs -> "or add an existing contract" )
runyarn flatten > flat.txt
(You will need to clean up extra junk at the top and bottom of flat.txt. Sorry, rookie stuff here.)
copy the contents offlat.txt
to the block explorer and select compilerv0.6.7
andYes
toOptimization
(200 runs if anyone asks)
โ๏ธ build and upload your frontend and share the url with your friends...
๐ฉโโค๏ธโ๐จ Share your public url with a friend and ask them to buy a collectible