Skip to content
This repository was archived by the owner on Aug 25, 2021. It is now read-only.

CipherWang/pyckbwallet

Repository files navigation

pyckbwallet

ckb wallet python lib

usage

Create CKB HD wallet

seed = "comfort rough close flame uniform chapter unique announce miracle debris space like"
cw = CKBWallet(seed)
for i in range(10):
    # get child address
    print(cw.getChildAddress(0, i))
    # get child key
    cw.getChildKey(0, i)

Dump / restore HD wallet.

Master key is encrypted by AES-128

ekey = cw.dumpMasterKey(passwd)
cw = CKBWallet.fromEncryptedKey(passwd, ekey)

About

deprecated, please turn to: https://github.com/CipherWang/ckb-address-manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages