Skip to content

UnderdogProtocol/airdrop-script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Airdrop

Using this script, you can airdrop NFTs to token holders. For eg. Bonk

Getting Started

  1. Clone the repo
  2. Install Dependencies: yarn install
  3. Add Necessary Config:
    • rpcUrl: Your RPC URL
    • underdogUrl: Underdog API URL. Devnet or Mainnet. Grab it here
    • underdogApiKey: Your Underdog API key. Grab it here
  4. Run the script: node index.js
  5. To airdrop to any token holders, you'll need to assign it's mint to tokenAddress. You can find the address by searching the token name on birdeye.so

Additional Information

This script uses the getTokenLargestAccounts RPC call to get the top 20 holders of given token and airdrops NFTs to them.

If you want more features to this, open an issue or join our Telegram chat

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published