Developer Docs
Search
K

Python

https://github.com/paraswap/paraswap-python-sdk
ParaSwap's Python SDK V1 currently handles ParaSwap limit orders.

Install

python3 setup.py build
python3 setup.py install # may need privilege authorization

Run examples

You need to add the previous variables inside a .env file to run our examples.
PK1 and PK2 are two EVM-compatible secret keys that 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/