π Scaffold-ETH NFTs for Juicebox
Give some NFT love to your Juicebox's donors.
Live demo at https://nft-to-jb.surge.sh/
π₯ JuiceBox Hackathon Presentation Video
πββοΈ Quick Start
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
Documentation, tutorials, challenges, and many more resources, visit: docs.scaffoldeth.io