Perpetual Protocol Trader
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
Perpetual Protocol Trader provides direct, non-custodial access to Perpetual Protocol on EVM-compatible blockchains. It enables perpetual futures trading with leverage, margin management, and position operations. The tool reads Perpetual contract state, market state, position state, margin state, funding rate state, oracle state, vault state, AMO state, liquidity pool state, user position state, chain ID, block timestamp, and gas price. It writes openPosition, closePosition, addMargin, removeMargin, liquidate, deposit, withdraw, approve, and transfer. All operations are signed and broadcast through your connected wallet — funds never leave your control.
HOW TO USE
Connect your EVM-compatible wallet (MetaMask, WalletConnect, or similar) using the wallet bridge. Select the network that matches the Perpetual Protocol deployment you wish to use (Ethereum Mainnet, Optimism, Arbitrum, Polygon, Base, or others). Paste the Perpetual contract address — the tool does not hardcode any address, giving you full control to use official Perpetual deployments or fork contracts. Choose your action from the dropdown: open a position, close a position, add margin, remove margin, liquidate, deposit, or withdraw. Enter the market address, asset address, amount, leverage, and position type (long or short). Click Review to verify all parameters before signing. The tool shows a clear summary of the transaction, then signs and broadcasts through your wallet with progress tracking.
HOW IT WORKS UNDER THE HOOD
The tool uses a dynamic gas estimation strategy that adapts to network conditions. Before each transaction, it calls estimateGas on the chosen method with the exact parameters, then adds a 20% buffer to avoid out-of-gas failures. For openPosition, the tool calls the Perpetual contract with the market, asset, amount, leverage, and position type — this creates a new leveraged perpetual position. ClosePosition closes an existing position by position ID. AddMargin and removeMargin adjust the margin backing a position. Liquidate forces liquidation of an underwater position. Deposit and withdraw manage funds in the protocol vault. The tool constructs the appropriate transaction data for each Perpetual action. After broadcasting, the tool waits for the transaction receipt using ethers.js wait() with confirmation tracking. It uses receipt.effectiveGasPrice for accurate cost reporting, not tx.gasPrice — critical for post-EIP-1559 networks.
WHAT IT CANNOT SEE
The tool cannot predict future funding rates or price movements; funding rates and prices are determined by market dynamics. It cannot guarantee that the position will be profitable or avoid liquidation; leveraged positions carry high risk of liquidation. It cannot verify that the oracle price data is accurate or not manipulated; the tool reads oracle data but does not validate its integrity. It cannot detect if the protocol has been exploited or if there are security vulnerabilities in the perpetual contracts; the tool only reads state and executes authorized transactions. It cannot guarantee that the margin will be sufficient to avoid liquidation; margin adequacy depends on market movements. It cannot predict the future price of the underlying asset; prices are determined by market dynamics.
PLEASE NOTE
This tool works exclusively with EVM-compatible blockchains where Perpetual Protocol is deployed. It does not support non-EVM chains. Always verify the contract address against official Perpetual documentation before use. Using incorrect addresses may result in loss of funds. The tool is provided as-is with no warranty of any kind. Perpetual futures trading involves high risk including total loss of position and liquidation. Leverage amplifies both gains and losses. Ensure adequate margin at all times.