QubicTypeScript

Installation

How to add @qubic.org/tx to your project.

bun add @qubic.org/tx
npm install @qubic.org/tx
pnpm add @qubic.org/tx

@qubic.org/tx has two required peer dependencies. Install all three together:

bun add @qubic.org/tx @qubic.org/crypto @qubic.org/types
npm install @qubic.org/tx @qubic.org/crypto @qubic.org/types
pnpm add @qubic.org/tx @qubic.org/crypto @qubic.org/types

signTransaction is async because it delegates to sign in @qubic.org/crypto. buildTransaction and encodeTransaction are synchronous.

The package targets ES2020 and has no other runtime dependencies. It works in Bun, Node.js 18+, and browser environments.