Skip to main content

Injective Python SDK, with Exchange API client

Project description

Injective Python SDK

WIP

Quick Start

pip install injective-py

Usage

Requires Python 3.9+

$ pipenv shell
$ pipenv install

# connecting to Injective Exchange API
# and listening for new orders
$ python src/exchange_api/examples/example.py

# sending a msg with bank transfer
# signs and posts a Tx to the Injective Chain
$ python src/chainclient/examples/example.py

Development

To copy proto schemas and regenerate GRPC clients:

$ pipenv shell
$ pipenv install --dev

$ make copy-proto
$ make gen

Quick Start

import injective.chain_client
import injective.exchange_api

License

Apache Software license 2.0

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

injective-py-0.2.4.tar.gz (42.5 kB view hashes)

Uploaded Source

Built Distribution

injective_py-0.2.4-py3-none-any.whl (68.8 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