Skip to content
All insights

Introducing the Arkade Wallet SDK

The Arkade Wallet SDK, a TypeScript-powered toolkit for building Bitcoin wallets with both onchain and offchain transaction support.

Introducing the Arkade Wallet SDK

Introducing the Wallet SDK

Introducing the Arkade Wallet SDK

We’re excited to announce the release of Arkade Wallet SDK, a TypeScript-powered toolkit that simplifies building Bitcoin wallets with seamless support for both onchain and offchain transactions.

Why?

The Wallet SDK provides JavaScript developers with a secure and portable solution for implementing Bitcoin functionality. Built on noble cryptography's minimal-dependency approach, our wallet library enables both Bitcoin and Arkade transactions in your web applications and mobile wallets,all without the overhead of WebAssembly.

Get Started

Installation

npm install @arklabs/wallet-sdk

Send your (virtual) coins

Here’s how you can restore a wallet from a private key and send Bitcoin offchain on MutinyNet (a custom Bitcoin testnet):

import { InMemoryKey, Wallet } from '@arklabs/wallet-sdk'

const identity = InMemoryKey.fromHex('your_private_key_hex')

const wallet = new Wallet({
  identity,
  network: 'mutinynet',
  arkServerUrl: 'https://master.mutinynet.arklabs.to ',
  arkServerPublicKey: 'd45fc69d4ff1f45cbba36ab1037261863c3a49c4910bc183ae975247358920b6'
})

// Send Bitcoin to an Arkade address
const txid = await wallet.sendBitcoin({
  address: 'tark1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx',
  amount: 100000
})

console.log('Virtual Transaction ID:', txid)

Use Cases

Mobile Payments

Perfect for React Native developers looking to integrate Bitcoin transactions in their apps. With pure JavaScript implementation and no WebAssembly dependencies, integration is straightforward and efficient.

AI Agent Transactions

Traditional web infrastructure wasn’t designed for AI agents making purchases or booking services. While Bitcoin provides a solution, onchain transactions can be slow and costly. With Arkade Wallet SDK, agents can create virtual channels for instant settlement.

Non-Custodial Merchant Solutions

Enable e-commerce sites to offer “Bitcoin accounts” while users maintain custody of their funds. Balances are secured in virtual channels, allowing for instant purchases after initial deposit through simple channel updates.

Join the Community

Documentation

Visit our GitHub repository for documentation, including examples of usage and interactive settlement.

Contribute

  • Report Issues: Found a bug or have a feature request? Open an issue in our repository.
  • Submit PRs: We welcome contributions that improve features, fix bugs, or enhance code quality
  • Get Support: Join our community channels for questions and discussions

Ready to build the future of Bitcoin? Start integrating Arkade Wallet SDK today!