§Docs

How Bylaw works

Everything about launching and trading on Bylaw, in plain words.

Overview

Bylaw is a token launchpad on HyperEVM, Hyperliquid's EVM. Anyone can launch a token in one transaction, and it opens straight into its own Project X pool, with the whole supply as liquidity that can never be withdrawn. Wallets, trading bots, terminals and aggregators can trade it from the first block. Creators can pair their token with HYPE, a stablecoin, bitcoin, ether or gold, and give it up to eight rules, its bylaws, that are enforced on every swap, wherever it comes from. There is no tax: every trade pays the pool's 2% fee and nothing else.

Network
HyperEVM (Hyperliquid)
Supply of every token
1,000,000,000
Team allocation
0%
Starting market cap
$2,500
Trades on
Project X, from the first block
Fee on every trade
2%, no tax
Liquidity
Locked forever

A token's life

  1. §1

    Launch

    Pick a name, a ticker, an image, a pair and rules. One transaction creates the token and puts its whole supply in its own Project X pool. You can buy first in the same transaction, before any bot.

  2. §2

    Trade

    It's a normal token in a normal Project X pool from that block: it trades through the site, the Project X app, any router, bot or aggregator, and moves freely between wallets.

  3. §3

    Rules

    The token itself checks its rules on every transfer, so they apply to every app and bot alike. The creator can amend them only with 24 hours of public notice, never to make selling harder.

  4. §4

    Earn

    Every trade pays the pool's 2% fee. 1% of the volume goes to the protocol; the creator gets the rest, forever.

The pool

At launch the whole supply goes into a single-sided position of the token's Project X pool (2% fee tier), from the starting price ($2,500 market cap) upward. The first buy is the first trade: there is no presale and no reserve. As people buy, the paired asset they pay builds up in the same position, so sellers can always sell back into it.

That liquidity belongs to no one: the contract has no function to withdraw it. Its LP fees can be collected by anyone, and our keeper does it regularly. Fees paid in the pair are split right away; fees paid in tokens (on sells) are sold back for the pair, moving the price at most 1% per collection, or burned if the token has Auto burn. Nobody else can add liquidity to the pool, so every trade pays into the locked position. With the pair wheel, the liquidity moves to the next pair's pool, but it never leaves the protocol.

Creating a Project X pool costs more gas than HyperEVM's small blocks hold, so the keeper prepares pools ahead of time for tokens that don't exist yet, at the address each one will get. A launch takes one of these slots and fits in an ordinary block.

Trade anywhere

Every Bylaw pool is a standard Project X pool on HyperEVM (Project X is a Uniswap v3 fork). The aggregators, trading bots and terminals that already route Project X can trade it as soon as it launches, with nothing to integrate. The rules don't live in the pool but in the token: it reports every transfer to the Bylaw engine, which tells a swap in its pool from a plain transfer and runs the rules. They apply to every swap, whichever app sent it; a trade a rule refuses simply fails.

Fees

Launch fee
A small fee in HYPE, about $1
Pool fee
2% of every buy and sell, whichever app or bot made it. It's the only fee: no tax
Protocol
1% of the volume, out of the pool fee
Project X
Keeps a seventh of the pool fee, like on every one of its pools
Creator
The rest: about 0.71% of the volume, paid in the pair
Rules
Pots, King of the Hill, referrals, tithes, Auto-LP and buybacks take their share out of the creator's part, at most all of it

Creator earnings collect in the contract and can be claimed at any time from the Rewards page, in each asset they were earned in.

Pairs

The pair is what people buy the token with in its pool. Every pair needs a reliable USD price: from a RedStone feed when it exists, otherwise from a 30-minute average of its main pool on HyperEVM, converted with a feed.

PairKindPrice
HYPEHYPEHyperliquidNativeRedStone feed
USDCUSDCUSD CoinStablecoinRedStone feed
USDT0USDT0Tether USDStablecoinRedStone feed
UBTCUBTCBitcoin (Unit)BitcoinRedStone feed
UETHUETHEther (Unit)CryptoRedStone feed
USOLUSOLSolana (Unit)CryptoRedStone feed
XAUt0XAUt0Tether GoldGoldRedStone feed
kHYPEkHYPEKinetiq staked HYPECrypto30-min pool TWAP
UPUMPUPUMPPump (Unit)Crypto30-min pool TWAP
PURRPURRPurrCrypto30-min pool TWAP

Pair wheel

A wheel token switches pair on a timer. The creator picks 2 to 6 pairs and a rhythm (5 min, 15 min, 1 hour, 4 hours, 1 day). When the timer runs out, anyone can spin the wheel, and our keeper does it every minute.

At each spin
The locked liquidity leaves the pool, its paired side is converted, and it goes into the token's pool against the next pair, at the same value
Pools
The keeper prepares the token's pool against every pair of its wheel right after the launch; nobody else can add liquidity to them
Max loss per spin
3% against the oracle price, or the spin skips that pair (a protocol setting, capped at 10%)
Thin pool or no price
The wheel skips to the next pair; if none works, nothing moves
Not compatible
Pots, Referral, Auto-LP and Buyback rules (they hold funds in one asset)

Rules

Rules are modules picked at launch, up to eight per token. The token runs them on every transfer: buys and sells in its pool, from any app or bot, and wallet-to-wallet sends for the rules that care about holders. Only the creator can amend them, under the terms below; we can't. None of them is a tax: a rule either refuses a trade or is paid from the creator's part of the fees. The launch page offers ready-made sets (Fair launch, Arena, Deep liquidity, Wall Street).

Protection

  • Anti-snipe

    For a window after launch, all buys in one block share a cap in dollars, and one transaction can buy at most a share of the supply. Bots that pile in at the open hit the cap and their buy fails. It applies to every router and bot, since the token itself checks it. Sells are never touched.

  • Hot potato

    Whoever made the last qualifying buy can't sell or send a token until a different wallet makes a qualifying buy, or until the cool-off runs out. Receiving is always fine. Nobody is exempt, the creator included.

  • Max per wallet

    From launch until the set time after it, no wallet may end up holding more than the cap, by buying or receiving. Selling and sending are never limited. Protocol contracts are exempt.

  • MEV shield

    During the window, any trade whose transaction pays more than the set priority fee above the base fee fails. The cap is at least 5 gwei so normal transactions pass.

  • Sell limit decay

    Right after launch, one transaction can sell only a small share of the supply. The limit widens in a straight line over the window and disappears at its end. Several sells in one transaction count together.

  • Whale guard

    During the window after launch, one transaction can buy at most the cap. Splitting a buy into several swaps doesn't get around it. Sells are never limited.

Market & fees

  • Impact cap

    One transaction may move the price at most the cap, measured from where it stood before its first swap. Big trades have to be split over several transactions, which gives everyone else a chance to react.

  • Block move cap

    Within one block the price may not move more than the cap away from where it stood before the block's first swap. Sandwiches and pile-ons inside a block fail. Across blocks the price moves freely.

  • Market hours

    Buys are accepted only Monday to Friday, 9:30 am to 4 pm New York time, with daylight saving, NYSE holidays and 1 pm early closes computed on-chain. Selling is possible at any time. Wallet-to-wallet transfers are never restricted.

  • Ping pong

    After a buy only a sell can trade, after a sell only a buy; the first trade must be a buy. Only trades of at least the minimum size flip the turn. If nobody takes the turn before the timeout, both sides are free until the next counted trade. One swap per transaction.

  • Referral

    A share of your fees goes to referrers, in proportion to the buy volume they brought since the last fee collection. Buyers pay nothing extra. A buyer's first referrer is kept for good; self-referrals and loops earn nothing. With no referred volume, the share stays yours.

  • Tithe

    A fixed share of your fees goes to a recipient named at launch: a charity, a treasury, a DAO. It builds up as a balance the recipient claims.

Rewards & burn

  • Auto burn

    Sells pay the pool fee in tokens. Instead of selling them back for the pair, a share is burned when fees are collected. Supply only goes down.

  • Auto-LP

    A share of your fees is saved. Anyone can press Compound: half buys the token and both sides become full-range liquidity nobody can remove. Runs only while the price is within 2% of an older price, at most every ~30 seconds, capped per run.

  • Buyback & burn

    A share of your fees is saved, then spent buying the token and burning it, capped per run, with at most 5% price impact against an older price and a cooldown. Anyone can run it.

  • Buyer rewards

    Stock a vault with any ERC-20. Every qualifying buy earns the buyer a fixed reward, locked for a while: selling or sending during the lock forfeits it back to the vault, so buy-and-dump loops earn nothing.

  • King of the Hill

    The largest qualifying buy holds the crown and earns a share of your fees while it lasts. A challenger must beat it by the margin, and that bar halves every decay period. Selling or sending any token gives the crown up. With no King, the share stays yours.

  • Last-buyer pot

    A share of your fees fills a pot. Every qualifying buy restarts the clock and takes the lead. When the clock runs out, the leader takes the whole pot and a new round starts.

  • Nth-buy pot

    A share of your fees fills a pot. Each qualifying buy moves a public counter by one, at most once per block, and the buy that lands on N wins the pot. Deterministic, no randomness claimed.

Amendments

A creator can change a token's rules after launch, under terms written into the contracts so that holders can't be trapped. Or give that up for good: sealed bylaws can never be amended, and the token page says so.

Notice
Every amendment is public on-chain for 24 hours before anyone can apply it, so holders see it coming and can leave
Selling
A rule that can refuse a sell can be removed, never added or tightened: selling only ever gets freer
Rules that hold funds
Pots, referrals, Auto-LP and buybacks can be added, never removed, so nobody walks off with a pot
Fees
Rules are paid from the creator's part of the fees, never from traders: the 2% fee never changes
One at a time
One pending amendment per token; the creator can withdraw it before it applies
Sealed
The creator can seal the rules at launch or any time later. It can't be undone

Launch protection

The Anti-snipe rule (in the Fair launch and Keep it simple sets) opens a window after launch, 300 blocks or about 5 minutes by default. During it, all buyers in one block share a dollar cap, and one transaction can buy at most a set share of the supply (1% by default), whichever router or bot they use: a buy over the cap fails. The creator's first buy happens in the launch transaction itself, before anyone else can trade.

Contracts

Deployed on HyperEVM mainnet. The admin keys belong to the Bylaw treasury.

The admin can list or delist pairs, set the launch fee and the wheel's slippage cap, and switch a rule off everywhere in an emergency (a rule that holds funds then lets them go to each token's creator). It can't touch tokens, pools or locked liquidity, and it can't add or change a rule on a token that already launched.

Risks

  • New tokens are highly speculative and most go to zero. Only trade what you can afford to lose.
  • The contracts are tested but have not been audited yet.
  • Bridged assets (UBTC, UETH, USOL, UPUMP), USDT0 and gold depend on their bridge or issuer, who can pause transfers. Prices from pool TWAPs follow the pool, which can drift from the real market when liquidity is thin.
  • A wheel spin can lose up to 3% of the reserve or liquidity in conversion costs.
  • Rules guard the token's own pool. Anyone can still open a pool for it on another DEX or fee tier: trades there pay no Bylaw fee and skip the buy and sell rules (wallet caps and transfer rules still apply).

FAQ

+Can the creator rug the liquidity?

No. The pool liquidity is held by the launchpad, which has no function to withdraw it.

+Can bots and terminals trade Bylaw tokens?

Yes, from the first block. It's a standard Project X pool; the rules and fees apply to them like to everyone.

+Is there a buy or sell tax?

No. Every trade pays the pool's 2% fee, like any Project X pool in that tier, and nothing else.

+Where are my creator earnings?

On the Rewards page, claimable at any time in each asset they were earned in.

+Do I need to approve before selling?

Not on Bylaw: tokens give the Bylaw router an allowance from the start. Other apps ask for the usual approval.