Skip to content

duanyytop/ckb-python-toolkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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_toolkit.core.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

About

Nervos CKB Python Toolkit

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.2%
  • Makefile 0.8%