Python-API-fullnode客户端Aeneas
pyaeneas的Python项目详细描述
此包是Aeneas platformfullnode WebSockets API的Python客户端。在
安装
通过pip install pyaeneas
快速启动
frompyaeneasimportAeneasapi=Aeneas()# invoke signup processresponse=api.execute('Signup')print(response['phrase'])# confirm passphraseresponse=api.execute('PassPhraseSaved',{'passPhrase':response['phrase']})print(response)
Aeneas客户端默认使用此URI:ws://localhost:9085/aeneas。 如果要连接到另一个fullnode,请将URI作为客户端参数传递:
^{pr2}$要求
- Python>;=3.5.3
- aiohttp
- 项目
标签: