Ubeswap is one of the AMMs available on the Celo protocol. Sometimes projects want to swap tokens using Ube Swap from the project’s smart contract.
In this tutorial, I want to demonstrate how to do a token swap in the smart contract by using Ubeswap.
This will only be a smart contract-based tutorial; no frontend will be involved.
Technologies used: Hardhat, Solidity and Celo Composer