Learn to provide liquidity
LP AcademyThe long version: a step-by-step course with animated explainers and a tour of every screen you'll use, from finding a pool to locking and launching one.Start the Academy →What a liquidity pool is
New to LPing? Eight short lessons explain how it works, with moving pictures. About ten minutes.
A pool holds two tokens, say NEBULA and HYPE. Traders swap one for the other through it, and every swap pays a small fee. Liquidity providers (LPs) are the people who put the tokens in, and the fees go to them.
Pick where your liquidity works
On Nebula you choose a price range. Your liquidity only trades, and only earns, while the price is inside it. A tighter range puts all your money to work right around the price, so it earns much more per dollar, but the price leaves it sooner.
Bins: how a DLMM holds your liquidity
A DLMM pool splits prices into small steps called bins. Bins below the current price hold HYPE, ready to buy the token if it falls. Bins above hold the token, ready to sell it if it rises. The bin the price is in holds both. As the price moves through your bins, it swaps one token for the other and you earn the fee.
Shape: how much goes in each bin
The shape decides how your deposit spreads across your bins.
- Spot
- Even liquidity across the whole range. A good default.
- Curve
- Concentrated around the current price. Earns most when the price stays near where it is.
- Bid-Ask
- Weighted toward the edges of the range. Built to catch swings in either direction.
In range and out of range
While the price is inside your range, you earn fees. If it leaves, your position stops earning and sits entirely in one token: all HYPE if the price fell below it, all the token if it rose above it. It earns again when the price comes back, or you can withdraw and open a new range around the new price.
What you earn, and what can go against you
You earn a share of the fee on every swap that trades through your range, paid in both tokens. Fees build up in the position; collect them whenever you like from Portfolio or the pool page.
The risk is impermanent loss. As the price moves, the pool sells the token that's rising and buys the one that's falling, so you end up with more of the weaker token than if you'd just held. A good position earns more in fees than it loses this way. That's the trade every LP makes.
Which pool type?
| Type | How it works | Good for |
|---|---|---|
| DLMM | Liquidity in bins you pick around the price, spread by a shape. The fee rises when the market is volatile. | Active LPs who want the most fees per dollar. |
| DAMM | One position across every price, on Uniswap v4 with the Nebula fee hook. Never out of range. | A token's main pool and launches, and LPs who don't want to manage anything. |
| Uniswap v3 | Nebula's first pools: a range and a shape built from several v3 positions. | Existing Nebula v3 pools. New pools are DLMM or DAMM. |
Your first position, step by step
- Get HYPE on Elysium. Use Bridge in the app, and keep a little for gas.
- Pick a pool. Open Pools and sort by volume or fee APR. Read the token's safety report on its page.
- Choose a range and a shape. Start wide, ±25% or more, with Spot or Curve while you learn. The Simulator shows how a range would have done.
- Enter an amount and confirm. Type one side or press MAX, and the other side follows. Confirm each step in your wallet.
- Watch it in Portfolio. See its value, fees and PnL, collect fees, or close it.
Start small. Your first position is for learning how a range behaves; size up once you've watched one through a few price moves.
Reference
Getting started
- Get HYPE on Elysium. Elysium is Kinetiq's L2 that settles to HyperEVM, and HYPE pays for gas. See Elysium's documentation for bridging.
- Connect a wallet. Use Connect wallet in the header. Nebula asks your wallet to add or switch to Elysium (chain 99901) if it isn't there already.
- Open a pool. Pick one from Pools to see its chart, depth, safety report and the liquidity panel.
Finding pools
The pools table shows liquidity, volume, fees and fee APR for every pool, over the timeframe you pick. Sort by any column, narrow the list to one venue, or set filters on the numbers that matter to you. Every pool page reports on its base token's holders, measured from chain data. Each line is marked fine, caution or concern.
| Check | What it measures | Caution | Concern |
|---|---|---|---|
| Top 10 holders | Share of supply held by the ten largest wallets | 30% | 60% |
| Deployer | Supply still held by the wallet that deployed the token. “Sold all” means none. | 3% | 8% |
| Bundled buys | Bought in the launch block by linked wallets | 10% | 25% |
| Snipers | Bought within the first blocks after liquidity was added | 3% | 10% |
Creating a pool
Anyone can create a pool for any Elysium token. Press New pool on the Pools page, or on a pool's page to open another pool for the same token.
- DAMM
- One position across every price, on Uniswap v4. It never goes out of range and needs no managing: the simple choice for a token's main pool. Fees of 0.3%, 1%, 2% or 4%, or a custom fee up to 10%.
- DLMM
- Liquidity in bins around the price, up to 75 on each side, spread by a shape. Its fee starts from the bin step (0.1%, 0.25%, 0.5% or 1%) and rises with volatility.
New pools are made on Uniswap v4 with the Nebula fee hook: a launch fee that starts high and steps down to stop snipers, a fee that rises with volatility, and Nebula's 0.25% swap fee.
Launch on a bonding curve (DBC)
Launchpads can launch tokens on Nebula's bonding curve from their own site. Each launchpad (the partner) sets up its terms once, and anyone can then launch a token with them. The token trades against the curve until it sells out, then moves to a Nebula pool by itself. Nebula doesn't run a launch page of its own: partners build the frontend with the SDK or the HTTP API.
- The curve
- A new token starts with its whole supply held by the curve. People buy it with HYPE and sell it back. Every buy pushes the price up a little, and every sell brings it back down, so early buyers pay less. The curve sells only part of the supply; the rest is kept for the pool.
- Anti-sniper fee
- The fee on the curve starts high at launch and falls over the first minutes (by default from 50% to 1% over five minutes), so bots that buy in the first blocks pay most of it to the creator and partner. The creator can buy in the launch transaction itself, at the base fee.
- Graduation
- When the curve has sold its tokens and raised its target, the buy that gets it there is filled up to the last price and refunded the rest. In the same transaction the token moves to a full-range Nebula DAMM pool, opened at that same price with the HYPE raised and the tokens kept for it. Unused tokens are burned. If that buy ran short of gas, anyone can finish the move afterwards.
- Liquidity locked forever
- By default all of the pool's liquidity is locked forever in the Nebula position locker, owned by the DBC fee vault: nobody, not the creator, the partner or Nebula, can take it out. A partner can instead give itself and the creator their own share of it (sent to them, or locked for a set time), but at least 10% always stays locked forever. The trading fees keep flowing and are split as below.
Who earns what
| Fee | Goes to |
|---|---|
| Trading on the curve (default 1% after the launch fee) | Creator and partner, 50/50 by default (the partner chooses) |
| Nebula's fee on every trade, curve and pool (default 0.2%) | Nebula |
| Migration fee (optional, at most 50% of the raise) | Partner and creator, in the partner's split |
| Trading in the pool after graduation (default 1%) | Locked liquidity: creator 50%, partner 30%, Nebula 20% by default (Nebula sets its share per partner, up to 50%). A partner's or creator's own position: theirs |
Fees are paid in HYPE on the curve, and in HYPE and the token in the pool. Creators and partners claim them whenever they like, from the curve and from the fee vault.
More for partners and creators
Partners can also charge a creation fee at launch, reserve part of the supply to vest to the creator after migration, and send unsold tokens to an address of their choice. Creators can hand their role, with its fees and vesting, to another address. Trades come in three kinds (exact in, partial fill, exact out), and a frontend or aggregator that routes a trade can earn a share of the protocol fee as its referrer.
For partners: the SDK's nebula.dbc and the /api/v1/dbc endpoints build curves, create configs, launch tokens, quote and trade in either phase, and claim fees, all as unsigned transactions. The SDK's README walks through each step with code. SDK and API guide
Swapping
The Swap tab on a pool page, and the Swap page, compare quotes from every source Nebula reaches (Nebula pools, KyberSwap, Matcha, Uniswap and Enso) and use the best one, or the one you pick. HYPE trades as the native coin, slippage is set in the panel, and the quote shows the route before you confirm.
Managing positions
Portfolio shows your balances, trades and PnL, and every Nebula position in the connected wallet with its range, whether it's in range, its fees and its PnL.
Staking and locks
Lock $NEBULA on Staking to earn HYPE. Stakers share part of the HYPE Nebula earns, paid out continuously, and the longer you lock, the bigger your share. Claim any time and unstake once your lock ends. The Staking page shows the current lock options.
Lock liquidity positions or tokens for a set time, or forever, so anyone can check them on chain. Locked positions keep earning fees. Locks show on the token's page and on Analytics.
Fees and $NEBULA
Every pool has an LP fee, charged on each trade and paid to the liquidity providers whose range the trade crosses. Fees build up in your position until you collect them. DLMM and DAMM pools can add a launch fee and a volatility fee on top, set when the pool is created.
Protocol fees go to the Nebula treasury: the 0.25% swap fee on DLMM and DAMM pools, and the fee router on v3 (0.05% of deposits, 0.05% of withdrawals and 0.5% of the LP fees you collect). $NEBULA buybacks and burns come from the creator fee on Boxa: half of it, every time it's claimed. Both show on Analytics.
$NEBULA has a fixed supply of 1,000,000,000 tokens on Elysium. Every fee Nebula earns flows back to it. Token contract: 0x875e0130b52404c75f594ea8451597dd16c6b6e4
- 50% · Buyback & burn
- Used to buy $NEBULA back from the market and burn it.
- 50% · Treasury
- Funds audits, servers, partnerships and growth. 10% of it is paid to $NEBULA stakers in HYPE.
Fee router: 0xAF0460b2a753a41faA00c3e2DaFC77a537aBfb2d
Risks
- Impermanent loss. As the price moves, a position ends up holding more of the token that fell. If fees don't cover the difference, you'd have done better holding.
- Out of range. When the price leaves your range, the position stops earning and sits entirely in one token until the price returns or you move it.
- Token risk. New tokens can be abandoned, dumped or malicious. Read the safety report, and remember it only covers what the chain shows.
- New chain, new software. Elysium and Nebula are both young. Provide liquidity only with funds you can afford to lose.
Developers
Create pools and add liquidity from your own app, bot or script, the same way the Nebula app does: with the TypeScript SDK, or the HTTP API from any language. Both read the chain and return the transactions to sign. Nebula never holds your keys or funds.
npm install @nebulaliq/sdk viemimport { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { createNebulaClient, elysium } from "@nebulaliq/sdk";
const nebula = createNebulaClient();
const wallet = createWalletClient({ chain: elysium, account: privateKeyToAccount(KEY), transport: http() });
// DLMM pool for TOKEN/HYPE at 0.05%, from 0.00012 HYPE per TOKEN, with 50 HYPE.
const plan = await nebula.planCreatePool({
base: TOKEN, quote: "HYPE", type: "dlmm", fee: 500,
price: 0.00012, amount: { quote: 50 },
});
const { pool, tokenIds } = await nebula.execute(plan, wallet);Every endpoint is read-only and open to any origin. Amounts are strings in each token's smallest unit. https://nebulaliq.app/api/v1
| Method | Endpoint | Returns |
|---|---|---|
GET | /pools?base=…"e=… | The pair's pool at every fee tier: whether it exists, its address and its price. |
POST | /pools | A plan for a new DAMM or DLMM pool, plus its transactions when the body has an account. |
POST | /positions | A plan for new positions in an existing pool, plus its transactions when the body has an account. |
DBC endpoints, under the same base URL:
| Method | Endpoint | Returns |
|---|---|---|
POST | /dbc/curve | A curve from start and graduation FDVs, checked with the contract's rules. |
GET · POST | /dbc/configs | The transaction that creates a partner's config, or the list of configs. |
GET · POST | /dbc/launches | The transaction that launches a token, or the list of launches. |
GET | /dbc/launches/:token | A launch's live state (phase, raised, price, pool once migrated) and history; also /trades and /candles. |
GET · POST | /dbc/quote · /dbc/swap | A quote and the transactions to buy or sell, on the curve or in the pool. |
GET · POST | /dbc/fees · /dbc/claim | What a creator or partner can claim, and the transactions to claim it. |
GET · POST | /dbc/creator · /dbc/metadata · /dbc/vesting | Hand a launch's creator role to another address; set partner or launch metadata; release vested tokens. |
Contracts
Nebula on Elysium mainnet (chain 99901):
DLMM and DAMM (Uniswap v4)
- Pool manager
0xE2e105d3F7209A9DA11f83cCf3E7398a753823F1- Position manager
0x1d1C51b9d07fD27d36412A2b66CC23D19Eb3E518- Nebula fee hook
0xfA46C41CE94f5eF1017Dab85166728d2Cc3A3ACc- DAMM launcher
0x4270C0BBfD53835737Ce0D6eeec8b754D48683cA- DLMM bin manager
0xF7592DB30bC4CbEd70B649B2041822a34ec7B5a0- Position locker
0x22ef73d5C8F9aa79A49bF95D642C16D7D5c7d238
Bonding curve launches (DBC)
- DBC curve
0xbB5C34F38a322965c5B503a1A4c8397399E745b3- DBC fee vault
0x5B02CE256166204900C4357061Fd2a59355dB76E- DBC fee hook
0xBcF1421177b9fAD50Dc6d500aD72e7AF6c7Da0C4- DBC migrator
0x4699818428f461A9721acA41a334114FaAc88d9F- DBC vesting
0xEB573a3b0DE3D33253ba5B5C3560c2ebBbb1f776- DBC router (WHYPE)
0x236fE9561ac29E24F57451212248382BF22F508c
Uniswap v3 pools
- Pool factory
0xf24ECfC8D19158141669a9512C14818Baabf833c- Position manager
0x30A0C39d7255CEBBb06e99a12eaF846E6a17d839- Swap router
0x68f947c34C934CFf7B63c6fB4D07E8a6b29eC23A- Quoter
0x6E2F1EE7b464AF614778B60516ed6EB46c1DC041- Wrapped HYPE
0xbA876237B0F021A6c6D852d6c26E107997cC5E81- Fee router
0xAF0460b2a753a41faA00c3e2DaFC77a537aBfb2d
Staking and locks
- Staking
TBA- Token locker
0xd145342852EeD4fa40107889b708440815fb53fC- Liquidity locker
0x6D817BE52d1300d352B8bA2459DF08d9C0fdA71a