This is the repo for the Encode Polygon Hackathon
Remarks:
This repo is based on my repos NftMarketplace as well as scripts to generate initial Nfts which are now copied here to be packaged as one dapp.
The marketplace is based on a tutorial by Nader Dabit.
I've developed it further however, to increase the usability for the smart contract as well as the frontend. Also tests were added.
nftMarket deployed to: 0x586169a258502b2F36AE99ccc462CbFB902ed3f2
The frontend is deployed to: avatar-nftmarket.vercel.app
-
Create a smart contract for ERC721 avatars
- expand default functionality
- Right tests
- Use contract verification & automate where possible
-
Use Polygon
-
Build a frontend to
- interact with the smart contract using different providers (Unstoppable & Metamask)
- Create unique avatars
- Show stats and metrics
yarn install
yarn deploy --network localhost
# deploy to localhost (ganache GUI needs to run)
yarn deploy --network mumbai
# deploy to polygon testnet
yarn deploy --network polygon
# deploy to polygon mainnet
yarn dev
# start dev nextjs server
For other commands, please refer to package.json
- Support ERC1155
- Improve IPFS support (Pinata seems to be unreliable with CORS errors)
- Deploy to mainnet
- Show important events