Skip to content

leinss/avatar_nft_marketplace

Repository files navigation

Avatar Nft Marketplace

This is the repo for the Encode Polygon Hackathon

Avatar NFT Marketplace

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.

Deployments

Matic Mumbai Testnet

nftMarket deployed to: 0x586169a258502b2F36AE99ccc462CbFB902ed3f2

The frontend is deployed to: avatar-nftmarket.vercel.app


Goals

  • 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

Deploy & Run

Requirements: Yarn and Nodejs

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

Future work / Improvements

  • Support ERC1155
  • Improve IPFS support (Pinata seems to be unreliable with CORS errors)
  • Deploy to mainnet
  • Show important events

Tools used

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published