text: import { ethers } from "ethers";
  import sdk from "./1-initialize-sdk.js";
  
  const bundleDropModule = sdk.getBundleDropModule(process.env.BUNDLE_DROP);
  const tokenModule = sdk.getTokenModule(process.env.TOKEN_ADDRESS);
  
  (async () => {
    try {
      const walletAddresses = await bundleDropModule.getAllClaimerAddresses("0");
      if (walletAddresses.length === 0) {
        console.log(
          "No NFTs have been claimed yet, maybe get some friends to claim your free NFTs"
        );
        process.exist(0);
      }
  
      const airdropTargets = walletAddresses.map((address) => {
        const randomAmount = Math.floor(Math.random() * (1000 - 100 + 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 (error) {
      console.error(error);
    }
  })();
  