QubicTypeScript

Installation

How to install @qubic.org/contracts and its peer dependencies.

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

Peer dependencies

@qubic.org/contracts requires the following packages to be installed alongside it:

bun add @qubic.org/types @qubic.org/crypto @qubic.org/rpc
npm install @qubic.org/types @qubic.org/crypto @qubic.org/rpc
pnpm add @qubic.org/types @qubic.org/crypto @qubic.org/rpc
PackagePurpose
@qubic.org/typesShared TypeScript types used across the SDK
@qubic.org/cryptoIdentity conversions required by payload builders and decoders
@qubic.org/rpcRPC client used by live read callers (createLiveClient, createQueryClient)

@qubic.org/contracts bundles a snapshot of the ABI registry. It does not need a network connection to build or decode payloads — only the live read callers require an active RPC connection.

On this page