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
39
39
40
40
# sending a msg with bank transfer
41
41
# signs and posts a transaction to the Injective Chain
42
-
$ python examples/chain_client/1_MsgSend.py
42
+
$ poetry run python examples/chain_client/1_MsgSend.py
43
43
```
44
44
Upgrade `pip` to the latest version, if you see these warnings:
45
45
```
@@ -51,16 +51,10 @@ Upgrade `pip` to the latest version, if you see these warnings:
51
51
1. Generate proto binding & build
52
52
```
53
53
make gen
54
-
python -m build
54
+
poetry build
55
55
```
56
56
57
-
2. Enable dev env
58
-
```
59
-
pipenv shell
60
-
pipenv install --dev
61
-
```
62
-
63
-
3. Install pkg
57
+
2. Install pkg
64
58
```
65
59
# from local build
66
60
pip uninstall injective-py
@@ -71,27 +65,23 @@ Upgrade `pip` to the latest version, if you see these warnings:
71
65
pip install injective-py
72
66
```
73
67
74
-
4. Fetch latest denom config
68
+
3. Fetch latest denom config
75
69
```
76
-
python pyinjective/fetch_metadata.py
70
+
poetry run python pyinjective/fetch_metadata.py
77
71
```
78
72
79
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)
80
74
81
-
5. Install the development environment (requires `pipenv`)
82
-
```
83
-
pipenv install -d
84
-
```
85
-
86
-
6. Run all unit tests in a development environment
75
+
4. Run all unit tests in a development environment
87
76
```
88
-
make tests
77
+
poetry run pytest -v
89
78
```
90
79
91
80
### Changelogs
92
81
**0.9**
93
82
* Replace Pipenv with Poetry
94
83
* Add pre-commit validations to the project
84
+
* Add a GitHub workflow to run all tests and calculate coverage for each PR
95
85
96
86
**0.8.5**
97
87
* Added NEOK/USDT and ORAI/USDT spot markets to the mainnet .ini file
0 commit comments