WDK Core
Register wallet, protocol, middleware, and transaction policy modules through the WDK core runtime.
WDK Core is the main runtime for registering and managing wallet, protocol, middleware, and transaction policy modules through one interface.
The Core reference covers @tetherto/wdk@1.0.0-beta.20, including variadic protocol constructor arguments, type-only protocol constructor exports, and policy denial codes. Integrations can branch on DENIAL_CODES, PolicyViolationError.code, or SimulationResult.code instead of parsing reason. The transaction policy guide and policy evaluation notes include its protocol registration and account-override behavior.
The base-wallet reference also covers @tetherto/wdk-wallet@1.0.0-beta.24, including rejection of signer registration after disposal and the updated multisig account contract. This is a separate package from the WDK orchestrator; see the base-wallet migration notes.
The transaction policy engine is experimental and not production ready. Its local checks do not isolate signing authority from a compromised agent environment. Review the policy security boundary before relying on these controls.
Use WDK Core to:
- Register wallet managers for the chains your app supports.
- Attach protocol providers to accounts globally or per account.
- Decorate accounts with middleware before they reach the application.
- Register local transaction policies that allow, deny, or simulate write operations before they execute.
Next Steps
Node.js Quickstart
Get started with WDK in a Node.js environment
WDK Core Configuration
Get started with WDK's configuration
WDK Core API
Get started with WDK's API
WDK Core Usage
Get started with WDK's usage
Seed Lifecycle & Disposal
Learn what dispose() clears and how to clean up app-owned seed buffers.
Transaction Policies
Allow, deny, and simulate local write operations before execution