Dexsnake is a lightweight Python package that makes it easy to make trades on decentralized exchanges (DEXs) like Uniswap. The package is designed for Python developers, quants, data scientists, algorithmic traders, and others who are used to working in Python but may not have in-depth knowledge about blockchains and decentralized apps. The code is organized to closely follow the structure of the smart contracts, ensuring that by using Dexsnake, users also gain an understanding of the underlying protocols.
Note
The most recent release can be installed with pip:
pip install dexsnake
The most recent (possibly untested!) version can be installed from GitHub:
pip install git+https://github.com/kerkelae/dexsnake.git