# LeverUp Developer Docs > Integrate with the LeverUp perpetuals protocol on Monad — onchain contracts, gasless one-click trading, and REST API. Use the Markdown links below for token-efficient, navigation-free documentation. ## Introduction - [What is LeverUp](https://developer-docs.leverup.xyz/introduction/what-is-leverup.md): LeverUp is a decentralized perpetuals protocol on Monad. Traders open leveraged long or short positions against a protocol liquidity pool, using crypto, forex, equity, index, and commodity markets — all settled onchain, all non-custodial. - [Quickstart](https://developer-docs.leverup.xyz/introduction/quickstart.md): This page opens a real position on Monad mainnet from a standalone script, then reads it back and closes it. Budget about 10 minutes. - [Networks & Contracts](https://developer-docs.leverup.xyz/introduction/networks.md): All documentation on this site targets Monad mainnet. - [Core Concepts](https://developer-docs.leverup.xyz/introduction/concepts.md): Every contract interaction goes through a single address — the LeverUp Diamond (0xea1b8E4aB7f14F7dCA68c5B214303B13078FC5ec). Opening trades, limit orders, TP/SL orders, one-click trading, pair configuration and all read functions are facets behind that one proxy. - [Precision & Units](https://developer-docs.leverup.xyz/introduction/precision.md): Most integration bugs are unit bugs. This page is the single reference — every other page links back here. - [Brokers & Referrals](https://developer-docs.leverup.xyz/introduction/brokers.md): A broker is a registered referral channel identified by a uint24 id. If you are routing trades on behalf of users — a frontend, a bot, a copy-trading service — a broker id lets you earn from the flow you bring. ## Onchain Integration - [Overview](https://developer-docs.leverup.xyz/onchain/overview.md): Call the LeverUp Diamond directly from your own account. You control the key, you pay gas, and nothing sits between your code and the contracts. - [Trading ABI](https://developer-docs.leverup.xyz/onchain/trading-abi.md): Use this ABI for direct onchain trading against the LeverUp Diamond on Monad mainnet. It is a raw JSON ABI array, so it can be passed directly to viem, ethers, web3.js, or another EVM client. - [Minting LVMON](https://developer-docs.leverup.xyz/onchain/minting-lvmon.md): LVMONMinter converts native MON or WMON into LVMON. The current mainnet configuration mints LVMON 1:1 with the input amount; all three assets use 18 decimals. - [Market Orders](https://developer-docs.leverup.xyz/onchain/market-orders.md): Open a position at the current oracle price. - [Limit Orders](https://developer-docs.leverup.xyz/onchain/limit-orders.md): Place an order that opens a position when the market reaches your price. Collateral is locked when the order is placed, and the order is executed by a keeper when the trigger condition is met. - [Closing & Partial Close](https://developer-docs.leverup.xyz/onchain/closing.md): Closing does not require oracle data — the keeper supplies the settlement price. All close functions are on the Diamond. - [Managing a Position](https://developer-docs.leverup.xyz/onchain/manage-position.md): Adjust an open position without closing it: change leverage by moving margin, or move the take-profit and stop-loss. - [TP/SL Orders](https://developer-docs.leverup.xyz/onchain/tpsl-orders.md): Standalone take-profit and stop-loss orders attached to an open position. Unlike the embedded TP/SL fields, these support partial quantities and multiple legs — scale out of a position at several price levels. - [Reading Data](https://developer-docs.leverup.xyz/onchain/reading-data.md): All read functions are view — free, and callable from any RPC. They live on the same Diamond address as the write functions. - [Events](https://developer-docs.leverup.xyz/onchain/events.md): Every event is emitted by the Diamond (0xea1b8E4aB7f14F7dCA68c5B214303B13078FC5ec), so a single address filter captures the whole protocol. - [Fair Launch](https://developer-docs.leverup.xyz/onchain/fairlaunch.md): Fair Launch is LeverUp's fixed-target fundraising and token-launch mechanism on Monad. A builder publishes a plan: a target amount of LVMON, a time window, the token's identity, and an incentive wallet. Users contribute LVMON — or native MON, which is minted into LVMON 1:1 — until the target is reached. A successful plan is launched through Nad.Fun by a keeper: the token is created, the raise buys out the bonding curve and seeds the DEX position, and contributors claim their share. A plan that misses its target never launches, and every contribution is refundable. ## Gasless Trading (1CT) - [Overview](https://developer-docs.leverup.xyz/gasless/overview.md): One-Click Trading lets a user authorize a signing key once, onchain, and then trade without wallet popups and without paying gas. Every subsequent order is an offchain EIP-712 signature that the protocol relays and executes. - [Security Model](https://developer-docs.leverup.xyz/gasless/security.md): The question every 1CT integration has to answer for its users is: what can this key actually do? - [Authorizing an Agent](https://developer-docs.leverup.xyz/gasless/authorization.md): A one-time onchain transaction from the trader's main wallet that grants a signing key permission to submit trade intents on their behalf. - [Actions Reference](https://developer-docs.leverup.xyz/gasless/actions.md): Every 1CT intent names one action. The action determines three things: the EIP-712 type name you sign under, the ABI layout of actionData, and the permission bit required. - [Signing Intents](https://developer-docs.leverup.xyz/gasless/signing.md): An intent is seven fields, signed with EIP-712. The trade's business parameters are not in the signed struct directly — they are ABI-encoded into actionData and included as a hash. - [Execution Fee](https://developer-docs.leverup.xyz/gasless/fees.md): Because the protocol pays gas for 1CT trades, each intent carries a small onchain fee in an ERC-20 token. It is priced in USD, configured per action, and charged when the intent executes. - [Submit & Track](https://developer-docs.leverup.xyz/gasless/submit.md): Returns 200 with the intent hash as a JSON string, e.g. "0xabc123…". - [Reference Client](https://developer-docs.leverup.xyz/gasless/reference-client.md): A complete, dependency-light TypeScript client covering fee selection, actionData encoding, EIP-712 signing, submission and polling. Copy it into your project and adapt — there is no npm package to install. ## REST API - [Overview](https://developer-docs.leverup.xyz/api/overview.md): Read-only HTTP access to prices, markets, positions, trade history, portfolio analytics and leaderboards. No authentication required. - [Oracle & Prices](https://developer-docs.leverup.xyz/api/oracle.md): Base URL: https://service.leverup.xyz - [Pairs & Volume](https://developer-docs.leverup.xyz/api/pairs.md): Base URL: https://service.leverup.xyz - [Positions & Orders](https://developer-docs.leverup.xyz/api/positions.md): Base URL: https://service.leverup.xyz - [Trade History & Portfolio](https://developer-docs.leverup.xyz/api/history.md): Base URL: https://service.leverup.xyz - [Leaderboard & Stats](https://developer-docs.leverup.xyz/api/leaderboard.md): Base URL: https://service.leverup.xyz - [Competitions & Teams](https://developer-docs.leverup.xyz/api/competitions.md): Base URL: https://service.leverup.xyz ## Reference - [Error Reference](https://developer-docs.leverup.xyz/reference/errors.md): Where failures surface depends on the path you are on: - [Changelog](https://developer-docs.leverup.xyz/reference/changelog.md): Notable changes to the integration surface. ## Complete documentation - [All documentation in one file](https://developer-docs.leverup.xyz/llms-full.txt): The complete LeverUp developer documentation, ordered by section.