Skip to content

Commit 4613906

Browse files
Merge pull request #16 from InjectiveLabs/f/update-versions
update examples & python versions
2 parents 10bbd86 + 6768620 commit 4613906

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
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
2523
Requires 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
```
4038
Upgrade `pip` to the latest version, if you see these warnings:
4139
```

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
1818
AUTHOR = "Injective Labs"
1919
REQUIRES_PYTHON = ">=3.7.0"
20-
VERSION = "0.3.2"
20+
VERSION = "0.4.1"
2121

2222
REQUIRED = [
2323
"grpcio",
@@ -28,6 +28,7 @@
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
],

0 commit comments

Comments
 (0)