This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Kwenta Futures Trader

DeFi · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — try it free, no account needed.
CategoryDeFi
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

The Kwenta Futures Trader lets you execute market and limit orders on Kwenta's PerpsV2 protocol on Optimism. You enter the PerpsV2 contract address, select a market (sETH, sBTC, sOP, etc.), choose a trade type (market or limit), pick a side (long or short), set your size in USD, and configure leverage from 1x to 10x. The tool fetches your current position, builds the appropriate transaction, and submits it via your connected wallet. It also includes a one-click close position button to exit your open position instantly. All trade parameters are shown in a review card before signing, so you know exactly what you are executing.

HOW TO USE

1. Connect your EVM wallet using the Connect Wallet button (Optimism only).

2. Enter the PerpsV2 contract address for Kwenta (you provide the address you trust).

3. Select a market (e.g., sETH, sBTC) from the dropdown.

4. Choose trade type: Market or Limit.

5. Select side: Long or Short.

6. Set size in USD and leverage (1–10x).

7. For limit orders, enter a limit price.

8. Click "Fetch current position" to see your open position, if any.

9. Review the trade summary in the review section.

10. Click "Execute trade" to sign and submit the transaction, or "Close position" to exit.

THE REAL MECHANISM — user-provided contract address with live position fetching

This tool does not hardcode any Kwenta contract addresses—you provide the PerpsV2 proxy address you trust, ensuring you are interacting with the contract you intend to use. The tool reads your position using the standard PerpsV2 `positions(address)` view function, which returns size, collateral, average price, and funding data. For execution, it uses the `modifyPosition(bytes32 marketKey, int256 sizeDelta, uint256 leverage)` function for market orders, `submitLimitOrder(bytes32 marketKey, int256 sizeDelta, uint256 price, uint256 leverage)` for limit orders, and `closePosition(bytes32 marketKey)` to exit. Market keys are passed as bytes32 strings (converted via `ethers.utils.formatBytes32String`). The tool calculates the size delta as a signed integer (positive for long, negative for short) and formats leverage as a uint256 with 18 decimals. All transaction data is built client-side and submitted through your wallet—no data leaves your browser except the signed transaction.

WHAT IT CANNOT SEE

- This tool cannot predict price movements or guarantee trade outcomes.

- It cannot execute trades that require cross-margin positions across multiple markets in a single transaction.

- It cannot cancel orders that have already been filled.

- It cannot read positions that are not accessible via the standard PerpsV2 contract interface.

- It does not support Kwenta on chains other than Optimism.

- It cannot verify if the provided contract address is the official Kwenta PerpsV2 proxy—you are responsible for checking the address you enter.

PLEASE NOTE

- This tool works only on Optimism (chain ID 10), where Kwenta PerpsV2 is deployed.

- You must provide the PerpsV2 contract address yourself—this tool does not hardcode any addresses, so you remain in control.

- Leverage is capped at 10x for safety; Kwenta may support higher leverage depending on the market, but this tool enforces a 1–10 range.

- Always review the trade parameters in the review card before signing—the tool shows size, leverage, side, and price (for limit orders) so you can catch errors before execution.

- Futures trading involves significant risk. This tool is for informational and execution assistance only—it does not provide financial advice.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.