lnd-grpc-client:LND的python grpc clientasync客户端

时间:2021-01-31 10:29:14
【文件属性】:
文件名称:lnd-grpc-client:LND的python grpc clientasync客户端
文件大小:53KB
文件格式:ZIP
更新时间:2021-01-31 10:29:14
python bitcoin async grpc rpc 联合会 用于LND(Lightning Network Daemon)的python grpc客户端 :high_voltage: :high_voltage: :high_voltage: 这是用于处理设置凭据(包括蛋白杏仁饼干)的默认grpc接口的包装。 异步客户端也可以用来做一些有趣的异步事情,例如在后台听发票。 依存关系 Python 2.7、3.4+注:异步客户端仅适用于Python 3.5+ 安装 $ pip install lndgrpc 基本用法 该api镜像了基础的lnd grpc api( ),但是方法将采用pep8样式。 即。 .GetInfo()成为.get_info() 。 from lndgrpc import LNDClient # pass in the ip-address with RPC port and network ('mainnet', 'testnet', 'simnet') # the client defaults to 127.0.0.1:10009 and mainnet if no args provided lnd
【文件预览】:
lnd-grpc-client-master
----setup.py(2KB)
----lndgrpc()
--------errors.py(1KB)
--------__init__.py(275B)
--------client.py(9KB)
--------rpc_pb2_grpc.py(46KB)
--------common.py(5KB)
--------rpc_pb2.py(278KB)
--------aio()
----.gitignore(1KB)
----MANIFEST.in(34B)
----LICENSE(1KB)
----Pipfile.lock(22KB)
----setup.cfg(40B)
----README.md(2KB)
----tests()
--------__init__.py(0B)
--------test_client.py(1KB)
----Pipfile(286B)
----.coveragerc(644B)
----tox.ini(351B)

网友评论