Installation
How to add @qubic.org/tx to your project.
bun add @qubic.org/txnpm install @qubic.org/txpnpm 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/typesnpm install @qubic.org/tx @qubic.org/crypto @qubic.org/typespnpm add @qubic.org/tx @qubic.org/crypto @qubic.org/typessignTransaction 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.