Develop the backend part for a simple decentralized exchange (DEX) on the TON blockchain. Your task is to create an API for interacting with the DEX smart contract and implement basic token exchange logic.
As you'll be working in an Agile environment with a team of developers, we'll use GitHub flow for our branching strategy. You'll need to split this task into smaller, manageable pieces and update the main branch accordingly.
- Create a new branch for each subtask from the main branch