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 |
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 |
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 |
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.
Demo viem passkeys with Gelato relay (code)
This example demonstrates how to leverage Turnkey’s secure key management and Gelato’s battle-tested relay infrastructure to enable seamless, sponsored interactions with meta-transactions using the@turnkey/viem signer and @gelatonetwork/relay-sdk-viem.

How Infinex leverages Turnkey and Gelato
Infinex, a platform designed to unify the decentralized ecosystem and applications under a single UX layer, eliminates the complexities of navigating fragmented crypto protocols. By integrating Turnkey and Gelato, Infinex delivers a seamless, secure, and cost-efficient experience for decentralized finance users.- Secure Key Management with Turnkey: Infinex ensures private keys are securely managed within Turnkey’s infrastructure, removing the need for traditional wallet pop-ups. This approach streamlines authentication through passkeys, offering a frictionless and secure user experience.
- Gasless Transactions with Gelato: Leveraging Gelato’s Relay (ERC-2771), Infinex enables fully sponsored transactions, allowing users to interact with decentralized applications without ever paying gas fees. This enhances accessibility and usability, ensuring that users can participate without holding or managing native blockchain tokens for fees.