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)
Built Distribution
Close
Hashes for injective_py-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 843a432cd7fdb030ce1d7275a4fa151de83b13f8a7d15277070fa374b6b84fb9 |
|
MD5 | e183a3d2f5a829d3119ab2db4abc38f6 |
|
BLAKE2b-256 | 5c466b81eb04a9989aee2688e27881d9d2fe2b83834e83d28455fc5d61d96819 |