A decentralized exchange template based on Scaffold-ETH's DEX Challenge with added staking functionality
- Users can swap between ETH and a custom-created token
- Swapping, staking and withdrawing built-in, with amounts calculated based on the size of the liquidity pool
- Brownie: Python backend blockchain framework
- Ganache: Providing local development blockchains
- Clone the repository:
git clone https://github.com/etorelan/InDex.git
- Install dependencies:
cd InDex/
pip install -r requirements.txt
-
Set up environment variables:
- Create a
.env
file in the root directory and set thePRIVATE_KEY
variable to your wallet's private key:
- Create a
This project is licensed under the MIT License
- Special thanks to the developers of Solidity, Brownie, and Ganache for their tools and documentation.
- Thanks to the open-source community for providing helpful resources and tutorials.