File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 11## Injective Python SDK
22
3- Note: Apple ` M1 ` processor is not supported
4-
53### Dependences
64
75** Ubuntu**
@@ -24,18 +22,18 @@ import injective.exchange_api
2422### Usage
2523Requires Python 3.7+
2624
27- [ examples ] ( https://github.com/InjectiveLabs/sdk-python/tree/master/examples ) : https://github.com/InjectiveLabs/sdk-python/tree/master/examples
25+ [ Examples ] ( https://github.com/InjectiveLabs/sdk-python/tree/master/examples )
2826``` bash
2927$ pipenv shell
3028$ pipenv install
3129
3230# connecting to Injective Exchange API
3331# and listening for new orders from one specific spot market
34- $ python examples/exchange_api_example/examples /spot_exchange_rpc/8_StreamOrdersRequest.py
32+ $ python examples/exchange_api_examples /spot_exchange_rpc/8_StreamOrdersRequest.py
3533
3634# sending a msg with bank transfer
3735# signs and posts a Tx to the Injective Chain
38- $ python examples/chain_client_example/examples/example .py
36+ $ python examples/chain_client_examples/1_CosmosBankMsgSend .py
3937```
4038Upgrade ` pip ` to the latest version, if you see these warnings:
4139```
Original file line number Diff line number Diff line change 17171818AUTHOR = "Injective Labs"
1919REQUIRES_PYTHON = ">=3.7.0"
20- VERSION = "0.3.2 "
20+ VERSION = "0.4.1 "
2121
2222REQUIRED = [
2323 "grpcio" ,
2828 "mnemonic" ,
2929 "hdwallets" ,
3030 "pysha3" ,
31+ "protobuf" ,
3132]
3233
3334# The rest you shouldn't have to touch too much :)
@@ -114,7 +115,7 @@ def run(self):
114115 "License :: OSI Approved :: Apache Software License" ,
115116 "Programming Language :: Python" ,
116117 "Programming Language :: Python :: 3" ,
117- "Programming Language :: Python :: 3.9 " ,
118+ "Programming Language :: Python :: 3.7 " ,
118119 "Programming Language :: Python :: Implementation :: CPython" ,
119120 "Programming Language :: Python :: Implementation :: PyPy" ,
120121 ],
You can’t perform that action at this time.
0 commit comments