Skip to content

(ETHOnline 2021) A dapp where users can send a NFT of Greeting Card to someone via email

License

Notifications You must be signed in to change notification settings

ysongh/Greeting-NFT-Airdrop

Repository files navigation

Greeting NFT Airdrop

Add to Homescreen

A dapp where users can send a NFT of Greeting Card to someone via email

Features

  • User can use a template of the greeting card created by designers.
  • User can enter the email of the person who will claim the NFT of the greeting card.
  • The recipient can click on the link to go to the claim NFT page to mint the NFT of the greeting card for free on Polygon Mainnet and it will contain message as metadata
  • Designers can upload a greeting card which is store on textile/eth-storage

Links to example use of technologies

Technologies

  • Next.js
  • Ant Design
  • nodemailer
  • Textile (Used textile/eth-storage to store image)
  • NFTPort (Used the Easy mint with NFT Port API)
  • Polygon (Deploy the contract on Polygon Testnet for cheap gas fee)
  • Covalent (Used Covalent API to display the user 's greeting card NFTs data from their wallet)
  • Pocket Network (Used Pocket-powered RPC endpoint)

Running the dapp on local host

  • Clone or download this repository
  • Run npm i to install the dependencies
  • Install and open up Ganache and click "Quickstart"
  • Run truffle migrate to deploy the contract
  • Create a file called '.env' on the root folder and add the following code
YOUREMAIL=< Your gmail >
YOUREMAILPASSWORD=< Your gmail password >
MNEMONIC=< Your mnemonic >
POKT_NETWORK_KEY=< Your pocket network key >
NEXT_PUBLIC_NFTPORT_APIKEY=< Your NFT PORT API key >
NFTPORT_APIKEY=< Your NFT PORT API key >
COVALENT_APIKEY=< Your Covalent API key >
  • Run npm start to start the dapp

About

(ETHOnline 2021) A dapp where users can send a NFT of Greeting Card to someone via email

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published