You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This document provides a comprehensive overview of all examples in the Turnkey SDK repository, detailing what features each example showcases and their Turnkey package dependencies.
Dependencies Table
Example
sdk-server
http
api-key-stamper
sdk-react
ethers
viem
solana
webauthn-stamper
sdk-browser
crypto
encoding
sdk-types
wallet-stamper
iframe-stamper
cosmjs
eip-1193-provider
indexed-db-stamper
react-wallet-kit
sdk-js
Total
with-ethers
✓
✓
✓
✓
4
with-viem
✓
✓
✓
✓
4
with-gnosis
✓
✓
2
with-eip-1193-provider
✓
✓
✓
✓
✓
✓
6
with-solana
✓
✓
✓
✓
4
with-bitcoin
✓
✓
2
with-aptos
✓
✓
2
with-cosmjs
✓
✓
✓
3
with-movement
✓
✓
2
with-sui
✓
✓
2
with-ton
✓
✓
2
with-tron
✓
✓
✓
✓
4
email-auth
✓
✓
2
email-auth-local-storage
✓
✓
✓
✓
4
otp-auth
✓
✓
2
v2/with-otp-auth
✓
1
oauth
✓
✓
2
with-indexed-db
✓
✓
✓
3
with-federated-passkeys
✓
✓
✓
✓
✓
✓
6
with-eth-passkeys-galore
✓
✓
✓
✓
✓
✓
✓
✓
8
with-solana-passkeys
✓
✓
✓
✓
✓
✓
✓
7
with-biconomy-aa
✓
✓
✓
3
with-zerodev-aa
✓
✓
✓
3
with-uniswap
✓
✓
2
trading-runner
✓
✓
2
sweeper
✓
✓
2
rebalancer
✓
✓
2
deployer
✓
✓
2
wallet-import-export
✓
✓
2
export-in-node
✓
✓
✓
3
import-in-node
✓
✓
✓
3
with-nonce-manager
✓
✓
2
with-offline
✓
✓
2
delegated-access
✓
1
with-wallet-stamper
✓
✓
✓
✓
✓
✓
✓
7
react-components
✓
✓
✓
✓
✓
5
react-wallet-kit
✓
✓
✓
✓
✓
✓
6
with-sdk-js
✓
✓
✓
✓
✓
✓
6
with-sdk-server
✓
1
kitchen-sink
✓
✓
✓
✓
✓
5
Total Usage
31
16
11
11
9
4
3
5
5
3
3
3
4
1
1
1
1
2
2
Blockchain Integration Examples
Ethereum & EVM-Compatible Chains
with-ethers
Features: Ethereum transaction construction and broadcasting using Ethers.js, EIP-1559 transactions, WETH wrapping, raw payload signing
Turnkey Dependencies:
@turnkey/api-key-stamper
@turnkey/ethers
@turnkey/http
@turnkey/sdk-server
with-viem
Features: Transaction construction and signing using Viem library, support for various EIP standards (EIP-1559, EIP-4844, EIP-7702)
Turnkey Dependencies:
@turnkey/api-key-stamper
@turnkey/http
@turnkey/sdk-server
@turnkey/viem
with-gnosis
Features: Gnosis Safe multisig creation and management, 3/3 multisig transactions, offchain and onchain approvals
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/ethers
with-eip-1193-provider
Features: EIP-1193 provider implementation for dApp integration, WebAuthn authentication
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/sdk-react
@turnkey/api-key-stamper
@turnkey/eip-1193-provider
@turnkey/http
@turnkey/webauthn-stamper
Non-EVM Blockchains
with-solana
Features: Solana wallet creation, transaction signing, SPL token operations, policy engine support for token transfers
Turnkey Dependencies:
@turnkey/api-key-stamper
@turnkey/http
@turnkey/sdk-server
@turnkey/solana
with-bitcoin
Features: Bitcoin transaction construction and broadcasting, P2TR and P2WPKH address formats
Turnkey Dependencies:
@turnkey/http
@turnkey/sdk-server
with-aptos
Features: Aptos blockchain transaction construction and signing
Turnkey Dependencies:
@turnkey/http
@turnkey/sdk-server
with-cosmjs
Features: Cosmos blockchain transactions using CosmJS, Celestia testnet integration
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/cosmjs
@turnkey/http
with-movement
Features: Movement blockchain transaction construction and signing
Turnkey Dependencies:
@turnkey/http
@turnkey/sdk-server
with-sui
Features: Sui blockchain transaction construction and signing
Turnkey Dependencies:
@turnkey/http
@turnkey/sdk-server
with-ton
Features: TON blockchain transaction construction and signing
Turnkey Dependencies:
@turnkey/http
@turnkey/sdk-server
with-tron
Features: TRON blockchain transactions, TRX and TRC-20 token transfers with policies
Turnkey Dependencies:
@turnkey/api-key-stamper
@turnkey/crypto
@turnkey/http
@turnkey/sdk-server
Authentication Examples
Email Authentication
email-auth
Features: Complete email authentication flow with NextJS, iframe-based stamping, frontend and backend integration
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/sdk-react
email-auth-local-storage
Features: Email authentication with locally stored target embedded key, no iframe required
Turnkey Dependencies:
@turnkey/crypto
@turnkey/encoding
@turnkey/http
@turnkey/sdk-server
OTP Authentication
otp-auth
Features: One-Time Password authentication flow, IndexedDB client for request stamping
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/sdk-react
OAuth
oauth
Features: Complete OAuth flow with Google integration, IndexedDB client for request stamping
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/sdk-react
Passkey Authentication
with-indexed-db
Features: Passkey authentication with persistent session storage using unextractable IndexedDB keys
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/sdk-react
@turnkey/sdk-types
with-federated-passkeys
Features: Sub-organization creation with passkey-based authentication, WebAuthn integration
Turnkey Dependencies:
@turnkey/http
@turnkey/api-key-stamper
@turnkey/webauthn-stamper
@turnkey/sdk-browser
@turnkey/sdk-react
@turnkey/sdk-server
with-eth-passkeys-galore
Features: Ethereum transactions with passkey signing, sub-organization management, account abstraction with Biconomy
Turnkey Dependencies:
@turnkey/api-key-stamper
@turnkey/ethers
@turnkey/http
@turnkey/sdk-browser
@turnkey/sdk-react
@turnkey/sdk-server
@turnkey/viem
@turnkey/webauthn-stamper
with-solana-passkeys
Features: Solana transactions with passkey authentication and sub-organizations
Turnkey Dependencies:
@turnkey/api-key-stamper
@turnkey/http
@turnkey/sdk-browser
@turnkey/sdk-react
@turnkey/sdk-server
@turnkey/solana
@turnkey/webauthn-stamper
Account Abstraction Examples
with-biconomy-aa
Features: Account abstraction with Biconomy paymaster integration, smart wallet transactions
Turnkey Dependencies:
@turnkey/ethers
@turnkey/sdk-server
@turnkey/viem
with-zerodev-aa
Features: Account abstraction with ZeroDev integration
Turnkey Dependencies:
@turnkey/ethers
@turnkey/sdk-server
@turnkey/viem
DeFi & Trading Examples
with-uniswap
Features: Uniswap DEX trading and transaction construction
Turnkey Dependencies:
@turnkey/sdk-server
@turnkey/ethers
trading-runner
Features: Advanced trading operations with policies, user management, and Uniswap integration