UNPKG

jito-distributor-sdk

Version:

TypeScript SDK for JITO Merkle Distributor with production-ready versioning and double-hashing support

9 lines (8 loc) 1.11 kB
export { MerkleDistributor } from './distributor'; export type { MerkleDistributor as MerkleDistributorAccount, ClaimStatus, CreateDistributorArgs, ClaimArgs, ClaimLockedArgs, NewClaimEvent, ClaimedEvent, NewDistributorParams, NewClaimParams, } from './types'; export { PROGRAM_ID, DistributorError } from './types'; export { getDistributorPDA, getClaimStatusPDA, hexToUint8Array, uint8ArrayToHex, bigintToBN, validateMerkleProof, getCurrentTimestamp, validateTimestamps, } from './utils'; export { DeterministicVersioning, generateNextVersionSafe, getDeterministicVersion, getDistributionVersion, getDailyVersion, getSequentialVersion, isAccountCollisionError, VERSIONING_CONSTANTS, VersioningError, DeploymentLimitExceededError, RaceConditionError, } from './versioning-system'; export type { VersionGenerationResult, VersioningConfig, DeploymentAttemptResult, } from './versioning-system'; export { JitoMerkleTree, createJitoMerkleTree, generateProofForRecipient, validateMerkleProof as validateJitoMerkleProof, } from './utils/merkle-tree'; export type { AirdropRecipient, } from './utils/merkle-tree';