# Developer Platform

<h2 align="center">Welcome to Pumpfun Leveraged Tokens</h2>

<p align="center">The Next Generation of Non-Liquidating Leverage for Pump.fun New Pairs</p>

{% columns %}
{% column %}

### PLX

PLX is a decentralized leverage protocol built for traders who want amplified exposure without the fear of liquidation. Powered by Solana’s speed and a vault-based architecture, PLX allows you to mint **synthetic leveraged tokens** like `SOL2X`, `PUMP5X`, and `CHILLGUY2X` — each one backed by real on-chain liquidity and dynamically managed vaults.

<a href="https://app.gitbook.com/o/xZgDAx5vhdnW89ND0ZtR/s/xIas4vO97DluAzXI5Vy9/" class="button primary" data-icon="rocket-launch">Get started</a> <a href="https://app.gitbook.com/o/xZgDAx5vhdnW89ND0ZtR/s/xrDAnoDFNQaDioYlcACH/" class="button secondary" data-icon="terminal">API reference</a>
{% endcolumn %}

{% column %}
{% code title="index.js" overflow="wrap" %}

```javascript
// Example: Mint 10 SOL worth of SOL2X (demo payload)
async function mintSOL2X() {
  const res = await fetch("https://api.plx.fi/v1/actions/mint", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
      "Authorization": "Bearer <YOUR_API_KEY>",
      "x-plx-wallet": "<YOUR_WALLET_PUBKEY>",
      "x-plx-ts": String(Math.floor(Date.now()/1000))
    }

```

{% endcode %}
{% endcolumn %}
{% endcolumns %}

{% columns %}
{% column %}

<figure><img src="https://2177806021-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fc7SBY3LNfhOANC1hsjo0%2Fuploads%2FMIQRNo4eZ5m1p0MqAOKK%2FTLnpWMHS_400x400.jpg?alt=media&#x26;token=2f596587-6a57-4e04-bd02-202707c5757a" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column %}

### Traditional leverage

Unlike traditional leverage, there are **no loans, no margin calls, and no liquidations**. Each leveraged asset adjusts its exposure automatically through **real-time rebalancing**, tracking the underlying price with precision while amplifying directional gains.

<a href="https://app.gitbook.com/o/xZgDAx5vhdnW89ND0ZtR/s/uqolO04HHU4rbcDZW0gN/" class="button primary" data-icon="book-open">Guides</a> <a href="https://app.gitbook.com/o/xZgDAx5vhdnW89ND0ZtR/s/xIas4vO97DluAzXI5Vy9/" class="button secondary" data-icon="book">Documentation</a>
{% endcolumn %}
{% endcolumns %}

<h2 align="center">How It Works</h2>

When you mint a leveraged token on PLX, your deposit is added to a **smart vault** that algorithmically manages collateral exposure.\
Each vault represents a leveraged position on a specific underlying asset (for example, `SOL2X` = double exposure to SOL).

The process is simple:

1. **Deposit SOL or liquid staking tokens (mSOL / JitoSOL)** into the vault.
2. The vault automatically allocates your collateral across a hedged strategy — combining long and neutral positions using on-chain liquidity pools.
3. You receive **minted leveraged tokens (e.g., SOL2X)** directly in your wallet, representing your exposure.
4. The vault **rebalances continuously**, adjusting its internal ratios to maintain the target leverage, without ever risking liquidation.

Your tokens are always redeemable for their vault value — meaning you can exit at any time and reclaim your collateral plus or minus PnL.

***

### **Minting Your First Token**

Getting started with PLX is straightforward. Here’s how to mint a leveraged token in under a minute:

1. **Connect Your Wallet**\
   Open the PLX app and connect your Solana wallet (Phantom, Backpack, or Solflare supported).
2. **Select a Vault**\
   Choose the leverage you want — for example:
   * `SOL2X` for moderate exposure
   * `SOL5X` for high exposure
   * `PUMP2X` or `CHILLGUY2X` for thematic trading tokens
3. **Enter Deposit Amount**\
   Decide how much SOL to deposit into the vault. The interface shows the corresponding leverage and expected exposure.
4. **Mint Tokens**\
   Confirm the transaction. The protocol mints your leveraged tokens and sends them directly to your wallet.\
   You now hold a live, on-chain leveraged asset that mirrors market performance — **without liquidation risk**.

Minting is gas-efficient, instant, and fully transparent.\
Your minted tokens can be traded, staked, or held — all vault data is publicly verifiable through the PLX explorer.

***

### **Why PLX Is Different**

PLX isn’t another leveraged perpetuals exchange — it’s a new model of **smart leverage** built around vault efficiency.

* **No Margin Calls:** The protocol uses dynamic ratio adjustments instead of borrowing mechanics.
* **Non-Liquidating Exposure:** Your position auto-rebalances — no forced closures.
* **Vault Transparency:** All vault parameters, performance, and exposure metrics are fully on-chain.
* **Real Yield:** Trading activity generates fees distributed to stakers and liquidity providers.
* **Composability:** PLX tokens can be integrated into other Solana DeFi protocols for staking, LPing, or structured yield.

Every token minted through PLX is an autonomous, yield-bearing synthetic asset — a step toward **modular leverage infrastructure** for the Solana ecosystem.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.pumpleverage.fun/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
