Install
Add the SDK and its peer dependencies to your project. Skip the SEAL install if you only need plaintext uploads and reads.
Required packages
@mysten/sui is a peer dependency — declared explicitly so you control
which version your app uses (the SDK is tested against ^2.16).
Optional — SEAL encryption
Skip this unless you'll call client.crypto.encrypt or .decrypt.
The SDK lazy-imports @mysten/seal on first use. If you don't install it,
plaintext flows work fine; calling crypto methods throws
SealNotInstalledError.
Package manager equivalents
TypeScript
The SDK ships its own .d.ts types — no separate @types/waldrop-sdk
needed. Minimum required compiler settings:
Sanity check
Drop this into a fresh index.ts and run it. Zero config, no wallet
required:
If those numbers show up, the SDK is talking to testnet correctly. Next, build your first real upload.
Currently the SDK is testnet-only — the Waldrop contract package isn't
deployed to mainnet yet. The network option accepts "testnet" for now;
mainnet shipping later in 2026.