Nervos CKB Tools
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.0.tar.gz
(14.5 kB
view hashes)
Built Distribution
Close
Hashes for ckb_toolkit-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12e03bdbc65d3e9bd96e2d40797d7d37373e389615d6803243a0f0808479e441 |
|
MD5 | 31686d0aca3c273c298dccbcb950b7f5 |
|
BLAKE2b-256 | 6c9c26bd909a9d476967af0c7b11bffcb7521797c2a55f441e66c950eaf8deea |