You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ poetry run python examples/exchange_client/spot_exchange_rpc/8_StreamOrders.py
37
39
38
40
# sending a msg with bank transfer
39
41
# signs and posts a transaction to the Injective Chain
40
-
$ python examples/chain_client/1_MsgSend.py
42
+
$ poetry run python examples/chain_client/1_MsgSend.py
41
43
```
42
44
Upgrade `pip` to the latest version, if you see these warnings:
43
45
```
@@ -49,16 +51,10 @@ Upgrade `pip` to the latest version, if you see these warnings:
49
51
1. Generate proto binding & build
50
52
```
51
53
make gen
52
-
python -m build
54
+
poetry build
53
55
```
54
56
55
-
2. Enable dev env
56
-
```
57
-
pipenv shell
58
-
pipenv install --dev
59
-
```
60
-
61
-
3. Install pkg
57
+
2. Install pkg
62
58
```
63
59
# from local build
64
60
pip uninstall injective-py
@@ -69,24 +65,25 @@ Upgrade `pip` to the latest version, if you see these warnings:
69
65
pip install injective-py
70
66
```
71
67
72
-
4. Fetch latest denom config
68
+
3. Fetch latest denom config
73
69
```
74
-
python pyinjective/fetch_metadata.py
70
+
poetry run python pyinjective/fetch_metadata.py
75
71
```
76
72
77
73
Note that the [sync client](https://github.com/InjectiveLabs/sdk-python/blob/master/pyinjective/client.py) has been deprecated as of April 18, 2022. If you are using the sync client please make sure to transition to the [async client](https://github.com/InjectiveLabs/sdk-python/blob/master/pyinjective/async_client.py), for more information read [here](https://github.com/InjectiveLabs/sdk-python/issues/101)
78
74
79
-
5. Install the development environment (requires `pipenv`)
75
+
4. Run all unit tests in a development environment
80
76
```
81
-
pipenv install -d
82
-
```
83
-
84
-
6. Run all unit tests in a development environment
85
-
```
86
-
make tests
77
+
poetry run pytest -v
87
78
```
88
79
89
80
### Changelogs
81
+
**0.9.0**
82
+
* Improvement in broadcaster to initialize the account sequence number and the timeout height only when required
83
+
* Replace Pipenv with Poetry
84
+
* Add pre-commit validations to the project
85
+
* Add a GitHub workflow to run all tests and calculate coverage for each PR
86
+
90
87
**0.8.5**
91
88
* Added NEOK/USDT and ORAI/USDT spot markets to the mainnet .ini file
0 commit comments