Runnable code examples for WDK (Wallet Development Kit) SDK modules.
Each folder contains small runnable examples for one WDK package or integration.
| Folder | Package | Description |
|---|---|---|
| wdk | @tetherto/wdk |
Core WDK setup, wallet registration, middleware, and transaction flow |
| wallet-evm | @tetherto/wdk-wallet-evm |
EVM wallets, balances, transactions, token transfers, signing, and fees |
| wallet-evm-erc-4337 | @tetherto/wdk-wallet-evm-erc-4337 |
ERC-4337 smart accounts, UserOperations, paymasters, and bundlers |
| wallet-solana | @tetherto/wdk-wallet-solana |
Solana wallets, balances, transactions, SPL tokens, signing, and fees |
| wallet-ton | @tetherto/wdk-wallet-ton |
TON wallets, balances, transactions, Jettons, signing, and fees |
| wallet-tron | @tetherto/wdk-wallet-tron |
TRON wallets, balances, transactions, TRC20 tokens, signing, and fees |
| mcp-toolkit | @tetherto/wdk-mcp-toolkit |
MCP server and LangChain agent examples for WDK tools |
| walletconnect-walletkit | @reown/walletkit + WDK |
Self-contained dApp ↔ wallet signing flow |
1. Install root dependencies and set up the environment:
npm install
cp .env.example .env
# Fill in the values in .env2. Install dependencies for the sub-repo you want to run:
cd wallet-evm
npm install3. Run an example:
npm run example:create-walletEach sub-repo has its own package.json with only the dependencies it needs. See the README in each folder for available examples.
Most transaction examples quote by default. Set ACTUALLY_SEND=true in .env only when using a funded test wallet.
- WDK Documentation
- WDK Core API Reference
- EVM API Reference
- EVM ERC-4337 API Reference
- Solana API Reference
- TON API Reference
- TRON API Reference
- MCP Toolkit API Reference
Apache License 2.0