Monoswap is a decentralized exchange (DEX) multi-chain dApp that facilitates trading of ERC20 tokens. It uses Uniswap Token Lists, a new community-led standard for creating lists of ERC20 tokens to improve discoverability and trust in ERC20 token lists in a manner that is inclusive, transparent, and decentralized. Swapping is powered by the 0x Protocol, an open protocol that enables the decentralized exchange of tokens on the Ethereum blockchain.
- Connecting to Metamask
- Multi-chain support: Ethereum, Polygon, Optimism, Arbitrum and Goerli
- Standardized set of ERC20 tokens using Uniswap Token Lists
- Swapping ERC20 tokens using the 0x Protocol
- View token balance
- View transactions history and transaction status
- tokens.uniswap.org for getting the token lists
- alchemy_getTokenBalances for getting the token balances
- /swap/v1/quote for getting the quote for buying or selling any ERC20 token
- /swap/v1/price for getting the best price for buying or selling any ERC20 token
Set up local environment variable by creating a .env.development.local file in the root of your project and adding your Alchemy API key.
Installs all packages.
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
To contribute to Monoswap, follow these steps:
- Fork this repository
- Create a branch:
git checkout -b <branch_name>
- Make your changes and commit them:
git commit -m '<commit_message>'
- Push to the original branch:
git push origin monoswap/<location>
- Create the pull request
Alternatively see the GitHub documentation on creating a pull request.
If you want to contact me you can reach me at davidcoderistov@gmail.com.