Installation
How to install @qubic.org/contracts and its peer dependencies.
bun add @qubic.org/contractsnpm install @qubic.org/contractspnpm add @qubic.org/contractsPeer dependencies
@qubic.org/contracts requires the following packages to be installed alongside it:
bun add @qubic.org/types @qubic.org/crypto @qubic.org/rpcnpm install @qubic.org/types @qubic.org/crypto @qubic.org/rpcpnpm add @qubic.org/types @qubic.org/crypto @qubic.org/rpc| Package | Purpose |
|---|---|
@qubic.org/types | Shared TypeScript types used across the SDK |
@qubic.org/crypto | Identity conversions required by payload builders and decoders |
@qubic.org/rpc | RPC 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.