https://github.com/paraswap/paraswap-python-sdk
https://github.com/paraswap/paraswap-python-sdk
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/paraswap/paraswap-python-sdk
- Owner: paraswap
- Created: 2022-08-31T07:46:39.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-23T12:30:18.000Z (over 3 years ago)
- Last Synced: 2025-04-22T12:12:58.148Z (12 months ago)
- Language: Python
- Size: 31.3 KB
- Stars: 5
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ParaSwap Python Sdk
This is an early stage of our python sdk. Currently it's only handle our limit orders.
## Install
```
python3 setup.py build
python3 setup.py install # may need privilege authorization
```
## Run examples
You need to add those variavles inside a .env file to run our examples.
PK1 and PK2 are two EVM compatible secret key, there will be used to sign orders.
```
PK1=
PK2=
RPC_HTTP_1=
RPC_HTTP_3=
RPC_HTTP_10=
RPC_HTTP_56=
RPC_HTTP_137=
RPC_HTTP_250=
RPC_HTTP_42161=
RPC_HTTP_43114=
```
## Examples:
```
everything in ./examples/
```