Leverage Any Asset.

The first perpetual trading protocol designed for any on-chain asset, enabling leveraged long and short positions without requiring high volume or liquidity.

Get SDK package
index.js
package.json
import { DerpSDK } from '@derp-trade/sdk';
const sdk = new DerpSDK(new Connection('https://api.mainnet-beta.solana.com'), Wallet.local());
const sizeToken = 1000;
const orderInstructions = await sdk.getOrderInstructions(mintAddress, {
reduceOnly: false,
side: 'long',
size: new BN(sizeToken).muln(1_000_000),
leverageBps: new BN(20000)
});
const tx = new web3.Transaction().add(...orderInstructions)
const signature = await sdk.provider.sendAndConfirm(tx);
console.log("Position opened, txId:", signature);

Welcome

What is derp.trade?

Trade anything with leverage - tokens, prediction markets and innovative assets. derp.trade is a derivatives exchange on Solana where anyone can create and trade leverage markets instantly.

Start trading

Open your first leveraged position in minutes.

How DERPs work

Understand how derp.trade works, in plain language.

For developers

Integrate DERPs into your trading terminal or bot.

Understand the risks

Learn the risks involved and how they are mitigated.


Why derp.trade?

  • Trade anything. Create a leveraged market for any token - even illiquid ones nobody else supports.
  • No order book needed. An automated market maker handles every trade, so you never wait for a counterparty.
  • Instant and free market creation. List a new token market in seconds with zero fees.
  • Built on Solana. Sub-second settlement and minimal gas costs.

Beta

derp.trade is live on Solana mainnet but still in beta. Market orders are supported today - limit and stop orders are coming soon.


What is a DERP?

A DERP (Decentralized Perpetual) is a new kind of derivative. Like a perpetual future, it lets you take a leveraged position on an asset's price - but it works differently under the hood.

Traditional perps rely on an order book to match buyers and sellers. That requires a lot of liquidity, which limits them to major assets like BTC or ETH. DERPs replace the order book with an automated market maker (AMM) - a smart contract that is always ready to take the other side of your trade.

This means DERPs can support markets for virtually any token, even ones with very little trading volume. All positions are denominated in USDT, so you deposit USDT, trade, and receive your profits in USDT.

Want to understand the mechanics in more detail? Read the plain-language explainer, or dive into the full protocol documentation.


Getting help

derp.trade is under active development. We welcome feedback from the community.

Submit an issue

If you find a bug or have a suggestion, reach out to our support team at support@derp.trade.

Join the community

We have a community Telegram group for updates and discussion, and an X profile for announcements.