{"repo":"cutupdev/Solana-Perpetual-Dex-Smart-Contract","free":true,"listed":false,"github":"https://github.com/cutupdev/Solana-Perpetual-Dex-Smart-Contract","clone":"git clone https://github.com/cutupdev/Solana-Perpetual-Dex-Smart-Contract.git","description":"Solana perpetual dex trading smart contract (axiom.trade fork smart contract) - orderbook, axiomtrade clone - margin trading, high leverage","language":"Rust","stars":41,"topics":["anchor","anchor-lang","axiom","leverage","margin-trading","perpetual","perpetual-dex","perpetual-protocol","rust","rust-lang"],"license":null,"category":"blockchain-web3","readme_excerpt":"Perpetual DEX Smart Contract A comprehensive Solana smart contract for perpetual futures trading with orderbook, margin trading, and leverage support. Similar to Axiom.trade functionality, this contract enables decentralized perpetual trading on Solana. Feel free to reach out of me when you have any question [Telegram: https://t.me/DevCutup, Whatsapp: https://wa.me/13137423660]. Overview This smart contract provides a complete perpetual DEX solution on Solana, featuring orderbook-based trading, margin trading with leverage, position management, and automated liquidation. The contract supports both long and short positions with configurable leverage up to 100x. Key Features - Orderbook Trading : Limit orders, market orders, stop-loss, and take-profit orders - Perpetual Futures : No expiration dates, trade indefinitely - Margin Trading : Deposit collateral and trade with leverage - High Leverage : Support for up to 100x leverage (configurable) - Position Management : Open, close, add/remove margin from positions - Automated Liquidation : Under-collateralized positions are automatically liquidated - PnL Tracking : Real-time profit and loss calculation - Funding Rates : Perpetual funding mechanism (structure in place) - Open Interest Tracking : Monitor total long and short positions Architecture The contract follows a modular structure similar to production Solana programs: Smart Contract Instructions 1. initialize Initializes the global configuration for the perpetual DEX platfo","default_branch":null,"files":null,"tree":[],"storefront":"/r/cutupdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cutupdev/Solana-Perpetual-Dex-Smart-Contract/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."}