{"repo":"jai123singh/Decentralised-Perpetual-Futures-Trading-Platform","free":true,"listed":false,"github":"https://github.com/jai123singh/Decentralised-Perpetual-Futures-Trading-Platform","clone":"git clone https://github.com/jai123singh/Decentralised-Perpetual-Futures-Trading-Platform.git","description":"A decentralized perpetual futures trading platform with vAMM, auto-liquidation, and funding rate.","language":"JavaScript","stars":11,"topics":["amm","blockchain","decentralized-finance","ethereum","funding-rate","liquidation","nodejs","perpetual-futures","react","smart-contracts"],"license":null,"category":"blockchain-web3","readme_excerpt":"Decentralized Perpetual Futures Trading Platform A blockchain-based perpetual futures trading platform featuring automated liquidation, funding rate mechanisms, and a virtual AMM system. Live Demo Access the trading platform (Deployed on Vercel — works with the Sepolia testnet) Architecture This project uses a three-tier architecture: - Frontend : React application hosted on Vercel - Backend : Node.js service running on Google Cloud's e2-micro VM instance - Smart Contract : Deployed on Ethereum's Sepolia testnet Key Features Trading Capabilities - Open long or short positions with customizable parameters - Multiple leverage options: 1x, 2x, 5x, 10x, or 20x - Adjustable slippage tolerance (0.01% to 100.00%) - Position management (close positions at any time) Risk Management - Automated liquidation system when net margin falls below maintenance margin - Liquidation price warning - Ability to add margin to existing positions to prevent liquidation - Separate deposit management from position margin Financial Mechanisms - 8-hour funding rate cycle for balancing long and short interest - TWAP (Time-Weighted Average Price) implementation using the last ten perpetual prices - Virtual AMM with constant product algorithm for price determination - Platform fees: - 0.05% of total trade size when opening positions - 5% of remaining margin after liquidation - 10% of gains during funding rate settlements Technical Implementation - Price-based heap data structure for optimized liquidation pr","default_branch":null,"files":null,"tree":[],"storefront":"/r/jai123singh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jai123singh/Decentralised-Perpetual-Futures-Trading-Platform/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}