【文件属性】:
文件名称:python-bip44:简单的Python bip44实现。 助记符+ bip32
文件大小:28KB
文件格式:ZIP
更新时间:2021-04-06 10:39:45
bitcoin ethereum cryptocurrency bip44 Python
python-bip44
简单的Python 实现。 + 。
安装
pip install bip44
快速开始
>> > from coincurve import PrivateKey
>> > from bip44 import Wallet
>> > from bip44 . utils import get_eth_addr
>> > mnemonic = "purity tunnel grid error scout long fruit false embody caught skin gate"
>> > w = Wallet ( mnemonic )
>> > sk , pk = w . derive_account ( "eth" , account = 0 )
>> > sk = PrivateKey ( sk )
>> > sk . public_key .
【文件预览】:
python-bip44-master
----.github()
--------workflows()
----bip44()
--------consts.py(539B)
--------utils.py(1KB)
--------__init__.py(55B)
--------wallet.py(3KB)
----poetry.lock(57KB)
----.vscode()
--------settings.json(208B)
----LICENSE(1KB)
----setup.cfg(174B)
----README.md(1KB)
----tests()
--------__init__.py(0B)
--------test_bip44.py(3KB)
----.gitignore(2KB)
----pyproject.toml(800B)