This is a simple application made to function similar to Uniswap for token exchange. It uses Moralis SDK (with server - bangalore region) and 1Inch plugin for listing tokens, checking allowance and making the swap
- select tokens and exchange
- estimated gas for transaction
- sign in with MetaMask
- Run the HTML file with a live server (recommended VS code liver server extension)
- Enable MetaMask or any other wallet in your browser (use Ethereum mainnet)
- Swapping will be enabled only after a wallet is connected with the DEX
- Clicking on Swap button makes an actual swap with your tokens, users will see an option to reject/approve transaction in their specific wallets
The demo applicaiton looks like this:
