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
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
ckb-toolkit-0.1.1.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for ckb_toolkit-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aec3fbf381e9286505351ca29b3568e2f5f75e2137f3c0953b5f0af37dcb62d6 |
|
MD5 | 2244d95d9c1ee9eb550edb04ea97cb15 |
|
BLAKE2b-256 | 488cc5595c3731d053ed9c40c8f6e1498186589c867f427fb3cf5d8dd4e12df5 |