carletex / juicebox-hackathon-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ— Scaffold-ETH NFTs for Juicebox

Give some NFT love to your Juicebox's donors.

Main screen

Live demo at https://nft-to-jb.surge.sh/

πŸŽ₯ JuiceBox Hackathon Presentation Video

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)

Deploy payer

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

About

License:MIT License


Languages

Language:CSS 85.4%Language:JavaScript 13.8%Language:Solidity 0.3%Language:Shell 0.2%Language:HTML 0.1%Language:TypeScript 0.1%Language:Less 0.1%