SDK 2.1: platform toolkit + vesting engine
v2.1.0 stable
SDK 2.1 is the stable release on the latest dist-tag. Install it with pnpm add @tokenops/sdk. The receipt-free and Safe create surface of /fhe-airdrop remains @beta.
Vesting 2.x · Client@tokenops/sdk/fhe-vesting

ConfidentialVestingManagerClient

Mounts against one manager clone for chain reads and writes. SDK 2.1 also exports createVestingEngine('v1') for pure schedule, claim-state, token-fee, split and revoke previews; it does not replace this client's reads, encryption or transactions. Writes that submit an encrypted amount need an encryptor at call time and throw MissingEncryptorError naming the method otherwise. Every argument-object write takes a per-call gas; only splitVesting has a receipt-free overload.

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-vesting
ts
import { createConfidentialVestingManagerClient } from "@tokenops/sdk/fhe-vesting";

const client = createConfidentialVestingManagerClient({
  publicClient,
  walletClient,
  address, // required: manager clone address
});

Methods

Write · 9

Disclose · ACL · 6

Encrypted read · 9

Read · 21

Recovery · 7