text: import { ethers } from "ethers";
  import sdk from "./1-initialize-sdk.js";
  
  const bundleDropModule = sdk.getBundleDropModule(
    "0xc2D2b750F136C1428c31f96090acA9b1e0F304df",
  );
  
  const tokenModule = sdk.getTokenModule(
    "0x54cf4Ed0084a0b64bB747dE5fdEB8600a0f7c7ae",
  );
  
  (async () => {
    try {
      const walletAddresses = await bundleDropModule.getAllClaimerAddresses("0");
    
      if (walletAddresses.length === 0) {
        console.log(
          "No NFTs have been claimed yet",
        );
        process.exit(0);
      }
      
      const airdropTargets = walletAddresses.map((address) => {
        const randomAmount = Math.floor(Math.random() * (10000 - 1000 + 1) + 1000);
        console.log("✅ Going to airdrop", randomAmount, "tokens to", address);
        
        const airdropTarget = {
          address,
          amount: ethers.utils.parseUnits(randomAmount.toString(), 18),
        };
    
        return airdropTarget;
      });
      
      console.log("🌈 Starting airdrop...")
      await tokenModule.transferBatch(airdropTargets);
      console.log("✅ Successfully airdropped tokens to all the holders of the NFT!");
    } catch (err) {
      console.error("Failed to airdrop tokens", err);
    }
  })();