SDK 2.1: platform toolkit + vesting engine
v2.1.0 · stable

SDK 2.1 is ready.

Six new public surfaces join the stable 2.x clients for confidential token operations.

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.
Install

Install the latest release.

A plain install resolves SDK 2.1. The runtime toolkit now requires Zod 4 alongside viem.

terminal
bash
pnpm add @tokenops/sdk viem@^2.47.0 zod@^4.1.11 @zama-fhe/sdk@~3.6.0

React hooks also need react, wagmi, @tanstack/react-query and @zama-fhe/react-sdk@~3.6.0. zod@^4.1.11 is a required peer for the kernel, draft vault, confidential client and observability subpaths. Node 22 or later. See bundling and Node servers for wagmi v2 under webpack.

Upgrading an existing app?

Start with the guide for the line you are on. Each one lists what breaks per subpath and the change to make.