A decentralized exchange (dex) for trading cryptocurrencies on Ethereum and Base. For demo purposes, not optimized for production use. Forked from this repo, initially followed this tutorial.
GIF created with LiceCap.
- Fetching token prices using Moralis API
- Automatically shows the amount of buy token you can receive when user inputs sell token amount
- Several different cryptocurrencies options (limited list)
- Connection to MetaMask wallet
- User can change slippage tolerance
- Switch arrow to switch input token
- Base network support
- User can switch between Ethereum and Base
- Use 0x Swap API to facilitate swapping
- User shown their token balances for the selected tokens upon wallet connection
- Deployed backend server using Render
- small UI changes
- Full token support for both Ethereum and Base
- Extensive wallet support (i.e Wallet Connect)
- Show fiat currency value equivalent underneath token amounts
- User can choose their preferred fiat currency for fiat currency value
- Use Wagmi's prepare send hooks for faster UI swap experience
- Custom gas slippage