MyTokenWallet SDK

Build BSV blockchain applications with BRC-43 and BRC-52 support

Features

BRC-43 Protocol Support

Protocol-based key derivation with security levels

BRC-52 Identity Certificates

Identity management and verification

Transaction Builder

Create, sign, and broadcast BSV transactions

BSV Desktop Integration

Seamless wallet compatibility

Security Modules

Built-in validation and error handling

TypeScript Support

Full type definitions included

Quick Start

Installation

npm install @mytokenwallet/sdk

Initialize SDK

import { MyTokenWallet } from '@mytokenwallet/sdk';

const wallet = new MyTokenWallet({
  network: 'mainnet',
  apiEndpoint: 'https://api.mytokenwallet.com'
});

Get Public Key (BRC-43)

const publicKey = await wallet.getPublicKey({
  protocolID: [1, "MyApp"],
  keyID: "registration",
  counterparty: "self",
  forSelf: true
});

Resources

Documentation

Complete API reference and guides

Read Docs

Downloads

SDK packages and source code

Get SDK

Examples

Code examples and tutorials

View Examples

Full Documentation

Complete project documentation

Documentation Hub

API Endpoints