TypeScript & JavaScript
@torvyon/sdk provides wallet generation, address validation, ML-DSA-65 signing, V4 transaction building, verification and a typed node API client.
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.
The package keeps cryptographic and transaction logic close to the protocol while giving application developers a practical JavaScript interface.
@torvyon/sdk provides wallet generation, address validation, ML-DSA-65 signing, V4 transaction building, verification and a typed node API client.
The Rust protocol core is compiled to WebAssembly for browser applications. Initialize the WASM module once, then use the same signing and transaction APIs.
Use torvyon-core for native tools and protocol integrations. It is pure transaction and key logic; network access remains explicit through the client layer.
The package is designed for modern Node.js and browser bundlers. Amounts stay as bigint so applications do not lose precision.
npm install @torvyon/sdkimport { init, generatePQWallet } from '@torvyon/sdk' await init() const wallet = generatePQWallet('testnet') console.log(wallet.address) // tqbt1…
Generate and verify post-quantum wallet signatures using the ML-DSA-65 API. Private key material stays local to the application device.
Mainnet PQ wallets use qbt1; testnet wallets use tqbt1. The SDK validates the network and address family together.
Query UTXOs, build a transaction, sign the payload locally and broadcast the signed result through the Torvyon node API.
For production applications and real network activity.
https://api.torvyon.techFor safe integration testing with test coins.
https://testnet.torvyon.techRead the examples, inspect the protocol implementation, and use the live network endpoints when you are ready to integrate.