Airdrop · Client@tokenops/sdk/fhe-airdrop

ConfidentialAirdropFactoryClient

Deploy a per-campaign airdrop clone with the token, start time, end time, admin, and extendability all packed into AirdropParams (every field is required at create time), plus the gas fee. Funding also lives here: the create-and-fund and fund methods encrypt the pool amount and move it via the factory's operator transfer.

Construct

Headless TS — non-React consumers (Node, Vite, server workers). React hosts use the per-hook surface; same method names, lazy encryptor.

@tokenops/sdk/fhe-airdrop
ts
import { createConfidentialAirdropFactoryClient } from "@tokenops/sdk/fhe-airdrop";

const client = createConfidentialAirdropFactoryClient({
  publicClient,
  walletClient,
  // address optional: resolved from publicClient.chain.id
});

Methods

Read · 6