Demos
Full end-to-end applications to see everything working together.| Example | Description |
|---|---|
react-wallet-kit | Comprehensive demo of embedded wallet kit with auth, wallet management, signing, import/export |
demo-embedded-wallet | A minimal consumer wallet app powered by Turnkey and passkeys, with transaction sending |
demo-consumer-wallet | A minimal consumer wallet app powered by Turnkey and WalletConnect |
with-react-native-wallet-kit | A React Native app demonstrating how to use @turnkey/react-native-wallet-kit to authenticate users, create wallets, export wallets, sign messages, and more |
flutter-demo-app | A Flutter app that demonstrates how to use the Turnkey’s Flutter packages to authenticate users, create wallets, export wallets, sign messages, and more |
swift-sdk/Examples | Native iOS wallet app with OTP, OAuth, and passkey auth, wallet creation, message signing, and transaction sending |
Authentication
| Example | Description |
|---|---|
oauth | OAuth login (Google) integration with Turnkey via backend server actions |
otp-auth | Email OTP authentication with Auth Proxy and a custom backend |
magic-link-auth | Magic link login/signup flow using Turnkey’s email OTP system |
wallet-auth | External wallet authentication (MetaMask, Phantom, etc.) with Auth Proxy and custom backend |
with-wallet-stamper | Demonstrates @turnkey/wallet-stamper for signing Turnkey requests with an external wallet |
Key & Wallet Management
| Example | Description |
|---|---|
import-export-with-rwk | Wallet import and export using React Wallet Kit and Auth Proxy |
import-export-with-iframe-stamper | Wallet import/export via @turnkey/iframe-stamper |
wallet-export-sign | Wallet export and signing operations via Turnkey iframe |
export-in-node | Wallet export performed on the backend |
import-in-node | Wallet import performed on the backend |
disaster-recovery | Wallet disaster recovery with direct import or encryption key escrow |
encryption-key-escrow | Use Turnkey to store encryption keys for external recovery bundles |
Signing
Signers and chain-specific transaction examples.| Example | Description |
|---|---|
with-ethers | Sign messages, send EIP-1559 and legacy transactions, interact with contracts (WETH), and sign EIP-712 typed data (ERC-2612 permit, ERC-3009, Hyperliquid) using @turnkey/ethers |
with-viem | Sign messages, send transactions, sign EIP-712 typed data, and sign EIP-4844 and EIP-7702 transactions using @turnkey/viem |
with-eip-1193-provider | Turnkey-compatible Ethereum provider adhering to the EIP-1193 standard |
with-nonce-manager | Sign and broadcast multiple Ethereum transactions sequentially or optimistically |
with-cosmjs | Sign and broadcast a Cosmos transaction on Celestia testnet using @turnkey/cosmjs |
with-solana | Sign and broadcast Solana transactions using @turnkey/solana, including SPL token creation + transfer |
with-bitcoin | Construct, sign, and broadcast a Bitcoin transaction using bitcoinjs-lib |
with-doge | Dogecoin testnet transaction signing using bitcoinjs-lib |
with-aptos | Aptos transaction construction and mainnet fund transfer |
with-ton | TON transaction construction and mainnet fund transfer |
with-tron | Tron wallet creation, signing, testnet funding, and policy guards |
tron-gasless-transactions | Gasless Tron transactions using delegated bandwidth via the DelegateResource contract function |
with-stacks | Stacks transaction signing with secp256k1 |
with-movement | Movement transaction construction and mainnet fund transfer |
with-arc | Arc testnet transaction construction and broadcast |
with-tempo | Tempo testnet transaction construction and broadcast |
with-sui | Construct, sign, and broadcast a Sui transaction using Turnkey |
with-iota | Build, sign, and broadcast IOTA transactions using Turnkey |
Turnkey Transaction Management
| Example | Description |
|---|---|
tk-gas-station | Gasless transactions using Gas Station SDK with EIP-7702 authorization |
with-paymaster | ERC-20 token transfer on EVM with Turnkey paymaster gas sponsorship |
with-solana-paymaster | SPL token transfer on Solana with Turnkey fee sponsorship |
with-balances | Fetch token balances and list supported assets using Turnkey APIs |
with-tx-webhooks | Receive real-time transaction status and balance change updates via webhooks |
solana-sweeper | Solana token sweeper utility |
solana-usdc-swap | SOL to USDC swap on Solana mainnet via Jupiter |
sweeper | Sweep funds from one address to a different address |
rebalancer | Manage and rebalance funds across multiple wallets and key types |
Account Abstraction
| Example | Description |
|---|---|
with-zerodev-aa | Transaction construction and broadcast with Turnkey, Viem, and ZeroDev account abstraction |
with-biconomy-aa | Transaction construction and broadcast with Turnkey, Viem, and Biconomy account abstraction |
DeFi & Protocol Integrations
| Example | Description |
|---|---|
with-uniswap | Sign and broadcast a Uniswap v3 trade using the Ethers signer |
eth-usdc-swap | ETH to USDC swap on Base mainnet via Uniswap Universal Router |
with-0x | EVM swapping ETH for USDC using 0x Swap API |
with-lifi | EVM and SVM bridging between ETH and SOL using Li.Fi |
with-aave | Aave v3 USDC deposit/withdraw with Turnkey policy engine controls |
with-morpho | Morpho Vaults USDC deposit/withdraw on Base Mainnet |
with-yield-xyz | Yield.xyz vaults deposit/withdraw across 75+ networks |
with-porto | Porto wallet upgrade and operations using API keys |
with-x402 | Coinbase x402 payment protocol with embedded wallets |
with-jupiter | Solana token swaps using Jupiter Ultra Swap API |
with-breeze | Solana USDC staking and yield management via Breeze API |
trading-runner | Multi-user Uniswap v3 trading demo with private key tags, user tags, and policies |
with-gnosis | Create new Ethereum addresses, configure a 3/3 Gnosis safe, and create + execute a transaction from it |
with-walletconnect-pay | React Native wallet that authenticates users via email OTP and signs EIP-712 payment authorizations for WalletConnect Pay |
brale | Stablecoin issuance and transfers with Turnkey wallets and the Brale API |
relay | Cross-chain bridging and same-chain token swaps via the Relay protocol |
polymarket-builders | Polymarket prediction market trading with builder attribution, Gnosis Safe, and CLOB order placement |
base-builder-codes | ERC-8021 Base Builder Code attribution appended to Turnkey-signed transactions |
Policies & Access Control
| Example | Description |
|---|---|
with-delegated | Delegated access setup examples |
Smart Contracts & Automation
Advanced & Utilities
| Example | Description |
|---|---|
with-offline | Stamp a Turnkey request and produce a signed URL to send it later |
kitchen-sink | Playground scripts for common Turnkey requests via HTTP, sdk-server, and sdk-browser |
with-sdk-js | Integration test suite for @turnkey/core and @turnkey/react-wallet-kit |
Demos built with Turnkey
Embedded Wallet Kit (live link)
A full-featured embedded wallet demo built with@turnkey/react-wallet-kit, showcasing
the latest Turnkey SDK. Includes passkey, email, and OAuth authentication, wallet creation, and
more.
Demo Embedded Wallet (code, live link)
A wallet application showing how users can register and authenticate using passkeys. Includes features such as:- User authentication with passkeys, email auth, and OAuth
- Creating new wallets and wallet accounts
- Sending and receiving funds
- Importing/Exporting a wallet
- Adding a credential to the wallet


React Native Wallet Kit (code)
A React Native app demonstrating how to use@turnkey/react-native-wallet-kit
to authenticate users, create wallets, export wallets, sign messages, and more.
Flutter demo app (code)
A Flutter app that demonstrates how to use the Turnkey’s Flutter packages to authenticate users, create wallets, export wallets, sign messages, and moreDemo Consumer Wallet (code)
A minimal consumer wallet app powered by Turnkey. Behind the scenes, it uses@turnkey/ethers for signing and WalletConnect
(v1) for accessing dapps.