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

Uploaded Python 3

File details

Details for the file echopy_lib-0.1.73-py3-none-any.whl.

File metadata

  • Download URL: echopy_lib-0.1.73-py3-none-any.whl
  • Upload date:
  • Size: 46.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for echopy_lib-0.1.73-py3-none-any.whl
Algorithm Hash digest
SHA256 76f44bc837640545b2ded1769dd047d9e0c6057d2ec490d471ee9f808a69bcf3
MD5 358b203b7f7604a8c00c2b4482dcd9d7
BLAKE2b-256 c3ab205e062c89bf9df96b51b106d8e1b8e77ce45f966554891b9466acf0175d

See more details on using hashes here.

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