Skip to main content

Nervos CKB Toolkit

Project description

CKB Python Toolkit

The library works only with Python 3.

Installation

pip install ckb-toolkit

Quick Start

Install in a virtualenv

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Example

from ckb.rpc import rpc
rpc.get_tip_block_number()

The example.py shows how to generate the CKB address and sign the transaction, and then send the transaction to the CKB node.

python3 example.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckb-toolkit-0.1.1.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

ckb_toolkit-0.1.1-py3-none-any.whl (19.2 kB view details)

Uploaded Python 3

File details

Details for the file ckb-toolkit-0.1.1.tar.gz.

File metadata

  • Download URL: ckb-toolkit-0.1.1.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.2

File hashes

Hashes for ckb-toolkit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b5016d2cbb8dc6c0db82e97d475592b60d95c682fd1a13904a676ca3dcdd71f3
MD5 52b133f19f9a8d3e324d44554bb302bb
BLAKE2b-256 471d93e452ca3acaa82bab8728afe9ae63d5b04d8c62b8c3176d2582aad03c2f

See more details on using hashes here.

File details

Details for the file ckb_toolkit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: ckb_toolkit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.2

File hashes

Hashes for ckb_toolkit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aec3fbf381e9286505351ca29b3568e2f5f75e2137f3c0953b5f0af37dcb62d6
MD5 2244d95d9c1ee9eb550edb04ea97cb15
BLAKE2b-256 488cc5595c3731d053ed9c40c8f6e1498186589c867f427fb3cf5d8dd4e12df5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page