Awesome
CeloPunk auction
<a href="https://www.buymeacoffee.com/anhfactor" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
Overview
CeloPunk is a NFT marketplace on celo testnet chain (Alfajores). It allows user mint, buying, make an offer, claim funds of NFTs in an automated environment.
The demo from challenge Dacade courses "Celo Development 201: [https://dacade.org/communities/celo/courses/celo-201/challenges/df5bfad4-7af3-4fd6-9351-ed6d9f45ac4b] - Dacade
You can signup here to learn and earn crypto: https://dacade.org/signup?invite=anhfellow
Technology stack
Solidity
Next.js
Hardhat
celodapp kit
Metamask
IPFS
ChakraUI
Contracts
- NFTCollection - 0x438cd380130f848E59B163c345d04A67F346649d
- NFTMarketplace - 0x9632Daa18c167a318D712E95b78E97d81246458a
Features
- Mint NFT straight from NFTCollection contract. User must input a name, description and upload a file (image, gif, video) to mint his own NFT
- User can make an offer his NFT by specifying its price. If someone fulfills this offer, then the NFT ownership is transferred to a new owner.
- User can cancel an offer he did in the past if in the end he does not want to sell his NFT or wants to adjust the price.
- User can buy those NFT which someone else offered for sale in the marketplace.
- If user sold an NFT, he can claim his funds go to "My assets" page and click on tab "collect sale fund".
- NFT can track owner, creator address.
Screenshots
- Home Page
- Explore NFT
- My assets/Collect sale fund
- Mint NFT
- NFT Details
Installing
First you need to copy .env.example to .env and fill in your private key.
Run the following command in your terminal after cloning the main repo:
yarn
npx hardhat run scripts/deploy.js --network alfajores
yarn build
yarn dev
yarn start