Stacks Turnkey SDK

Make Bitcoin P2P Cash Again with passkey-driven experiences.

Bye Bye Passwords once and for all

Alex Protocol
Arkadiko Protocol
Stacking DAO
Zest Protocol
AppMaker.fun
Bitflow
import { TurnkeySDK } from '@turnkey/react-wallet-kit';
import { StacksNetwork } from '@stacks/network';

const turnkey = new TurnkeySDK({
  apiBaseUrl: 'https://api.turnkey.com',
  apiKey: process.env.TURNKEY_API_KEY,
});

const createWallet = async () => {
  const wallet = await turnkey.createWallet({
    walletName: 'My Stacks Wallet',
    network: StacksNetwork.Mainnet,
    authentication: {
      type: 'email',
      email: 'user@example.com'
    }
  });
  
  console.log('Wallet created:', wallet.address);
  return wallet;
};

createWallet();

Use Cases

Stacks blockchain integration
TurnkeyHQ wallet infrastructure
Bitcoin transaction signing

Wallet Integration

Seamlessly integrate embedded wallets into your Stacks applications.

[2023-12-15 14:23:45] INFO

Wallet initialized. Starting Bitcoin transaction.

[2023-12-15 14:23:47] ACTION

Connecting to Stacks blockchain...

[2023-12-15 14:23:50] DECISION

Validating transaction. Security: 100%

[2023-12-15 14:23:52] WARNING

Transaction pending confirmation.

[2023-12-15 14:23:55] ERROR

Transaction confirmed on Bitcoin network.

Monitor wallet activity

Track and analyze your embedded wallet performance with detailed transaction logs.

Build once, scale everywhere

Create embedded wallets that work seamlessly across different Bitcoin applications.

Features

Non-Custodial Wallets

Secure embedded wallets with full user control. Private keys never leave the user's device.

Learn more >

Seamless Onboarding

Users can create wallets with email, passkeys, or social logins - no seed phrases required.

Learn more >

Bitcoin L2 Integration

Native integration with Stacks blockchain for Bitcoin smart contracts and dApps.

Learn more >

Enterprise Security

Trusted Execution Environments (TEEs) ensure maximum security for wallet operations.

Learn more >

Custom Wallet UI

Design tailored wallet interfaces that match your application's branding and UX.

Learn more >

Scalable Infrastructure

Create millions of wallets with high performance and reliability for your users.

Learn more >

Testimonials

HeroGamer

HeroGamer

Stacks

My mom hates passwords.

Rocky & the Block

Rocky & the Block

Exponent Labs LLC

We've significantly reduced development time for our Stacks dApp using this SDK. The non-custodial wallet feature is a game-changer.

Bitcoin & Beyond

Bitcoin & Beyond

Mel

I need this in South Africa NOW.

fred-dog.btc

fred-dog.btc

BTCU

I'm going to use this to accelerate the onboarding of students to BTCU.

Blockface

Blockface

Exponent Labs LLC

Asking users to remember passwords in 2025 isn't onboarding it's offboarding.

Eric

Eric

Hiro

We should all be considering the new Embedded Wallet challenge with turnkeyhq

Ready to build your next Bitcoin application with embedded wallets?