Skip to main content

Python library for ECHO blockchain.

Project description

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()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

echopy_lib-0.1.73-py3-none-any.whl (46.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page