Skip to main content

Install

Install the SDK for your language. The TypeScript core (@qorechain/sdk), the EVM and SVM adapters (@qorechain/evm, @qorechain/svm), and the Python, Go, and Rust clients are all published to their registries with full native-chain parity (typed messages, queries, the tx lifecycle, hybrid PQC transactions, and WebSocket subscriptions). Pick your language below.

TypeScript

The core package:

npm i @qorechain/sdk

It targets Node.js 20+ and ships ESM, CommonJS, and type definitions.

EVM adapter

@qorechain/evm is a thin, type-safe adapter over viem. viem is a peer dependency — install it alongside:

npm i @qorechain/evm viem

Published to npm at 0.3.0.

SVM adapter

@qorechain/svm is a thin adapter over @solana/web3.js, which is a peer dependency:

npm i @qorechain/svm @solana/web3.js

Published to npm at 0.3.0.

Python

pip install qorechain-sdk

Requires Python 3.10+. The package ships type hints and a py.typed marker.

The distribution installs as qorechain-sdk (published to PyPI at 0.3.1) but imports as qorsdk:

import qorsdk

Go

go get github.com/qorechain/qorechain-sdk/packages/go/...

Requires Go 1.23+. Import the sub-packages you need, for example:

import (
"github.com/qorechain/qorechain-sdk/packages/go/qorechain/client"
"github.com/qorechain/qorechain-sdk/packages/go/qorechain/accounts"
)

Published as a self-contained Go module at packages/go/v0.3.0.

Rust

cargo add qorechain-sdk

Or in Cargo.toml:

[dependencies]
qorechain-sdk = "0.3"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

Requires Rust 1.74+. The read clients are async (Tokio).

Published to crates.io as qorechain-sdk at 0.3.0.

Java

Maven (pom.xml):

<dependency>
<groupId>io.github.qorechain</groupId>
<artifactId>qorechain-sdk</artifactId>
<version>0.3.0</version>
</dependency>

Or Gradle:

implementation 'io.github.qorechain:qorechain-sdk:0.3.0'

Published to Maven Central as io.github.qorechain:qorechain-sdk:0.3.0.

Next

Continue to the Quickstart to connect and read on-chain state.