2.0 RC docsView 1.x docs
Vesting 2.0 · Clients

Headless clients for vesting

The factory deploys manager clones; the manager runs every schedule. The React hooks wrap these same methods.

v2.0.0-rc.1 release candidate
The API is frozen and later candidates carry fixes only, except the receipt-free and Safe create surface of /fhe-airdrop, which is @beta. Published on the next dist-tag; latest stays on 1.6.0 until 2.0.0.

Both configs take publicClient, an optional walletClient, telemetry, and gasHeadroomPercent (default DEFAULT_GAS_HEADROOM_PERCENT, 25). The factory resolves its address from the chain id; the manager needs the clone address and an encryptor for any write that submits an encrypted amount.

Every write refuses a wallet on a different chain than the public client with WalletChainMismatchError, before estimating gas, and throws the typed revert from a failing estimate instead of handing the call back to the wallet.