Developer resources · Official SDK

Build on Torvyon.

The official open-source toolkit for applications that need Torvyon wallets, signed transactions and live chain data. Use TypeScript in the browser or Node.js, WebAssembly in your app, or the Rust core directly.

What is included

One SDK, three layers.

The package keeps cryptographic and transaction logic close to the protocol while giving application developers a practical JavaScript interface.

TS

TypeScript & JavaScript

@torvyon/sdk provides wallet generation, address validation, ML-DSA-65 signing, V4 transaction building, verification and a typed node API client.

W

WebAssembly core

The Rust protocol core is compiled to WebAssembly for browser applications. Initialize the WASM module once, then use the same signing and transaction APIs.

R

Rust protocol core

Use torvyon-core for native tools and protocol integrations. It is pure transaction and key logic; network access remains explicit through the client layer.

Start here

Install and initialize

The package is designed for modern Node.js and browser bundlers. Amounts stay as bigint so applications do not lose precision.

npm install @torvyon/sdk
import { init, generatePQWallet } from '@torvyon/sdk'

await init()
const wallet = generatePQWallet('testnet')
console.log(wallet.address) // tqbt1…
Protocol-aware by default

Post-quantum wallets and signed UTXOs.

ML-DSA-65

Generate and verify post-quantum wallet signatures using the ML-DSA-65 API. Private key material stays local to the application device.

qbt1 addresses

Mainnet PQ wallets use qbt1; testnet wallets use tqbt1. The SDK validates the network and address family together.

V4 transactions

Query UTXOs, build a transaction, sign the payload locally and broadcast the signed result through the Torvyon node API.

Mainnet

For production applications and real network activity.

https://api.torvyon.tech
Testnet

For safe integration testing with test coins.

https://testnet.torvyon.tech
Documentation

Build with confidence.

Read the examples, inspect the protocol implementation, and use the live network endpoints when you are ready to integrate.