Skip to content

tetherto/wdk-examples

Repository files navigation

WDK Examples

Runnable code examples for WDK (Wallet Development Kit) SDK modules.

Each folder contains small runnable examples for one WDK package or integration.

Examples

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

Run

1. Install root dependencies and set up the environment:

npm install
cp .env.example .env
# Fill in the values in .env

2. Install dependencies for the sub-repo you want to run:

cd wallet-evm
npm install

3. Run an example:

npm run example:create-wallet

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

Documentation

License

Apache License 2.0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors