Python ECHO library can be used to construct, sign and broadcast transactions and to easily obtain data from the blockchain via public apis.
Installation
Install with pip3:
$ sudo apt-get install libffi-dev libssl-dev python-dev python3-dev python3-pip
$ pip3 install echopy-lib
Manual installation:
$ git clone https://github.com/echoprotocol/echopy-lib.git
$ cd echopy-lib
$ python3 setup.py install
or
$ pip3 install .
Preparation
Launched echo node (https://github.com/echoprotocol/echo-core) with open port.
Usage
from echopy import Echo
url = 'ws://127.0.0.1:9000'
echo = Echo()
echo.connect(url)
accounts = echo.api.database.get_objects(['1.2.0'])
echo.disconnect()
Metadata
Release files for echopy-lib 0.1.73
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| echopy_lib-0.1.73-py3-none-any.whl | Python 3 | none | any | Details |
Release files / echopy_lib-0.1.73-py3-none-any.whl
| Download URL | echopy_lib-0.1.73-py3-none-any.whl |
|---|---|
| Size | 46.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76f44bc837640545b2ded1769dd047d9e0c6057d2ec490d471ee9f808a69bcf3
|
|
BLAKE2b-256 checksum How to use checksums |
c3ab205e062c89bf9df96b51b106d8e1b8e77ce45f966554891b9466acf0175d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5
|