Code Monkey home page Code Monkey logo

email-based-airdrop's Introduction

How to AirDrop NFTs Using Email

A guide to airdropping NFTs using email. No wallet required. No crypto required.

Read the guide here: https://blog.withpaper.com/how-to-airdrop-nfts-using-email/.

Play with the live deployment here: https://email-based-airdrop.vercel.app/

airdrop

Airdropping NFTs have been the single best way to send NFTs to people. Airdropping doesn’t cost gas or require any crypto, but it often requires a wallet address.

In this guide, I’m going to show you how to airdrop NFTs with just an email. No wallet required. No crypto required.

Try it yourself at email-based-airdrop.vercel.app!

Try by entering your own email in the field below and click “Send Airdrop”. A special utility NFT will airdropped to that email without needed a wallet address at all!

Untitled (14)

Untitled (15)

After airdropping yourself a NFT using email, you can customize the airdrop experience but using a NFT of your choice. All you need is your Paper API key, contract ID, and an image URL for the display!

Untitled (16)

  • Paper API key: get your Paper API key from the Paper Developer Dashboard. You can find it in “Developer Settings”
  • contract ID: your contract ID can be found in the “contracts” section. If you don’t have one, you’ll need to register a smart contract by clicking the “+” button. We recommend using thirdweb to create smart contracts with the click of a button.
  • image URL: use any image of your choice :)

Next Steps

If you want to take this airdrop project further to send a mass airdrop to multiple emails at once, you can clone the repository for email-based-airdrop.vercel.app and run a loop to call the create checkout link intent API for every email!

The project uses Paper’s Dynamic One-Time Checkout Links and passes in the email parameter with requireVerifiedEmail set to true to make sure that only the person we emailed can claim the NFT.

You can other customizations as well, check out the API page for more inspiration!

And that’s it!

If this was helpful, let me know in the discord!

-Harpriya from Paper.


This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

email-based-airdrop's People

Contributors

hpbag avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.