Python Rollup Development Kit for the QoreChain network.
Project description
qorechain-rdk (Python)
Python Rollup Development Kit for the QoreChain network.
Status: Available. This package mirrors the TypeScript RDK
(@qorechain/rdk) with idiomatic, type-hinted, snake_case Python — typed rollup
configuration with the compatibility matrix enforced, preset profiles, the
rollup and settlement-batch lifecycles, native data availability, transaction
signing and broadcast, and the read clients.
Surface (mirrors the TypeScript RDK modules):
- Typed rollup configuration and builder, with the settlement / sequencer / proof / DA / gas / VM compatibility matrix validated client-side.
- The five preset profiles:
defi,gaming,nft,enterprise,custom. - Exact denom conversion and creation-cost economics (integer math, no float).
- Binary-Merkle withdrawal-proof assembly for the bridge.
- Portable rollup manifests (save / share / reload).
- Account derivation from a BIP-39 mnemonic (BIP-44
m/44'/118'/0'/0/0, secp256k1, bech32qor) and a SIGN_MODE_DIRECT signer. - Hand-encoded protobuf codecs for the eight
rdkmessages, a full transaction builder, and broadcast via the REST/cosmos/tx/v1beta1/txsendpoint. - Read clients: REST (LCD), the
qor_JSON-RPC namespace, typed views, and theRdkClientfacade — plus preflight ("doctor"), rollup health, event decoding, and a faucet helper. Live broadcast requires a reachable node endpoint; the HTTP transport is injectable for testing.
pip install qorechain-rdk
Install as
qorechain-rdk; import asqorrdk.
from qorrdk import presets, create_rdk_client, signer_from_env
# Build and validate a rollup configuration.
config = presets.defi("my-rollup").set(stake_amount_uqor="10000000000").build()
# Connect, sign, and broadcast (needs a reachable node endpoint).
client = create_rdk_client(network="testnet")
signer = signer_from_env() # QORE_OPERATOR_PRIVATE_KEY_HEX or QORE_MNEMONIC
if signer is not None:
tx = client.connect_tx(signer)
tx.create_rollup(rollup_id="my-rollup", profile="defi", vm_type="evm",
stake_amount="10000000000")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file qorechain_rdk-0.3.1.tar.gz.
File metadata
- Download URL: qorechain_rdk-0.3.1.tar.gz
- Upload date:
- Size: 49.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a73495df9f02a7a00b11a3e47d553c06680e287d4ff4702e58cc3dcdaade1e
|
|
| MD5 |
e0da41f5f809caf6079438ed7ca076a7
|
|
| BLAKE2b-256 |
635558e6a187bc5db38ec542e32b08f51fd65ca82fead9ce3f07dc882c14ed5f
|
File details
Details for the file qorechain_rdk-0.3.1-py3-none-any.whl.
File metadata
- Download URL: qorechain_rdk-0.3.1-py3-none-any.whl
- Upload date:
- Size: 54.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a10064a787a2ecc65936a10497bf1a38c979218c9cb3428eb5fdae1369da1229
|
|
| MD5 |
491d5f534500b1f2b50416d98796a57b
|
|
| BLAKE2b-256 |
2af7b7e8c40a67a9d29e03f2c6c27fad14956ac189c75a1c231fd66c6046fd5f
|