Create a website to mint NFTs to support a JuiceBox project.
Give some NFT love to your Juicebox's donors.
Live demo at https://nft-to-jb.surge.sh/
Juicebox set up
You first need to create a Juicebox project.
You'll need to deploy a payer contract (inside ๐ง Tools)
Scaffold-eth set up
Prerequisites: Node (v16 LTS) plus Yarn and Git
clone/fork this repo
Edit the config.json
in packages/react-app/src/config.json
:
Get these from your Juicebox project
"juiceBoxProjectId": "",
"juiceboxPayersAddresses":
Configure the NFTs: different NFT levels, with the price and the previously uploaded IPFS metadata
"nftName": "JBNFT",
"nftSymbol": "JBNFT",
"nfts": { levels: {} }
install dependencies and start your ๐ทโ Hardhat chain:
yarn install
yarn chain
in a second terminal window, start your ๐ฑ frontend:
cd scaffold-eth
yarn start
in a third terminal window, ๐ฐ deploy your contract:
cd scaffold-eth
yarn deploy
๐ Edit your smart contract in packages/hardhat/contracts
๐ Edit your frontend App.jsx
in packages/react-app/src
๐ผ Edit your deployment scripts in packages/hardhat/deploy
๐ฑ Open http://localhost:3000 to see the app
Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io