2024
Perpetual Decentralized Exchanges on Arbitrum
Role: Blockchain Developer
Overview: Developed a perpetual exchange (DEX) application for margin trading of cryptocurrencies and synthetic assets on Arbitrum. The architecture of DEX is based on GMX V1. Utilized the Pyth pull model and upgrade smart contract to lateset solidity version. Devloped a risk monitoring and alerting system using Subgraph, integrated with Telegram and Discord bots for live updates.
Contributions:
- Intergrated Pyth pricefeed oracle to enhance price accuracy and save fee instead of using Chainlink
- Developed test cases using Hardhat and Foundry to ensure contract reliability.
- Built the backend using Node.js for managing contract pool tokens, updating funding rates, and executing positions and market orders.
Technologies Used:
- Solidity, Ether.js, Hardhat, Foundry
- Frontend: React.js
- Backend: Node.js
- Database: Subgraph, MongoDB