eCash
—
Flush
—
Next block
—
Slot 46 escrow
—
Launches today
—

Mainnet

How it works

Assets on a curve,
coins on eCash

Flush is a sidechain of eCash. Its coin is ECX: you deposit it from the eCash mainchain into the Flush sidechain, and withdraw it from the Flush sidechain back to the eCash mainchain. A launch is an asset sold by the chain itself on a bonding curve, until its graduation amount (100 ECX for a launch made now) has gone in. Then it trades in a pool.

01 Launch

A launch names a ticker (2 to 12 letters and digits, unique on Flush), a name and, if you like, a logo of 256 × 256 pixels kept on chain. The Flush app reserves the ticker hidden, then registers it a block later, so nobody can see it coming and take it first.

By default the supply is 1,000,000,000, fixed at launch (the creator picks the supply, its decimals and the curve's fee, 0.30 % to 5 %): 750.00M are sold by the curve, 250.00M are kept for the pool. Nobody can mint more, unless the creator chose to keep control: such a launch can be minted at any time and carries an Unlocked Supply tag on its own pages. The creator may also take an allocation of up to 10 % of the supply, minted to them at graduation and shown on the launch page, and may buy first, in the launch transaction itself.

02 The curve

Every buy pays ECX into the curve and takes the asset out; every sale gives it back for ECX. The price is set by what the curve holds, a constant product over virtual reserves of 50.00 ECX and 1.13B tokens:

price = (virtual ECX + ECX raised)² / k      k = 50.00 × 1,125,000,000

It starts at 0.00000004444 ECX and ends at 0.0000004000 ECX, 9 times higher, when the last of the 750.00M is sold. The ECX of the curve is held by the rules of the chain: no operator, no keeper, no key.

PRICE100 ECX · GRADUATION0
Price of one unit of the asset against the ECX in the curve.

03 Graduation

Each launch has its own graduation amount, fixed when it is made: 100 ECX for a launch made now (100 ECX from the v6 upgrade; a launch made before keeps 500). The block in which the curve reaches it closes the curve and opens the asset's market with ECX on the Flush DEX, with that ECX and the 250.00M kept: a full-range position in a concentrated ASSET/ECX pool with a 1 % fee. The pool starts at the curve's last price, so graduation does not move the price. A buy that would go past the threshold is cut there and the rest stays in the buyer's wallet.

The pool's liquidity is locked for good: nobody can take it out, the creator included. Its trading fees, taken in ECX, go 60 % to the creator and 40 % to the network's security. The creator's part, like their part of the curve's fees, goes where the launch chose for good: to the creator, to buy back and burn the asset, or split between the two. From then on it trades like any asset on Flush, at the best route Swap finds.

04 The peg to eCash

Flush is a drivechain (BIP300/301) in slot 46 of eCash. There is no wrapped coin: ECX on Flush is ECX deposited from the eCash mainchain into the Flush sidechain (into the slot's escrow on eCash), and it goes back by a withdrawal from the Flush sidechain to the eCash mainchain.

  1. Deposit, eCash → Flush. A BIP300 deposit from the eCash mainchain into the Flush sidechain: on eCash, pay your Flush deposit address (s46_…). The ECX appears with the next Flush block.
  2. Withdraw, Flush → eCash. Ask on Flush to withdraw from the Flush sidechain back to the eCash mainchain. Withdrawals are paid in bundles that eCash miners vote on: more than 6,048 votes within 12,096 blocks, at least about six weeks on eCash mainnet.
  3. Mined. Flush blocks are anchored to eCash by blind merged mining: eCash miners commit to them, for a fee in ECX.

The peg in detail · Following eCash through the enforcer

05 Blocks

A block every 15 seconds, signed by validators who stake ECX, each slot led by a validator picked by stake. A trade is soft in a block of stake, BMM-confirmed once an eCash block commits to it, and final after three anchors, about half an hour.

These blocks come from FastBlocks, our sidechain template for fast sidechains: proof-of-stake blocks anchored to eCash by merged mining. It builds on our basic sidechain template, which gives every chain merged mining, deposits, withdrawals and its own app.

Blocks of stake in detail

06 Fees

Every fee on Flush is split by the chain's own rules, in each block, to the people doing the work.The site adds no fee of its own.

Where the fee comes fromWho earns it
Every transaction
transfers, asset sends, all network fees
Validators and BMM bidders only. The bidders' part follows how fast eCash makes blocks: 50% at a block a minute, falling to 20% at seven minutes or more, so at eCash's usual ten minutes bidders get 20% and validators 80%.
Deposits and withdrawals
the BIP300 peg with eCash
100% to the BMM bidder, who pays eCash miners to anchor Flush.
Swaps in a pool
fee tier 0.01%, 0.05%, 0.30% or 1.00%, set when the pool is made
as the chain says (no node answering)
Trades on a launch curve
before graduation at 100 ECX for a launch made now; fee TBD
as the chain says (no node answering)
A graduated launch's pool
its locked full-range position, 1 %
creator 60% (split as the launch says, from upgrade v7) · the network's security 40%, all taken in ECX

Validators are paid by stake from the validator pot. BMM bidders compete for each anchor, so most of their share goes on to eCash miners as bids. The parts are the chain's, read from the node.

A launch's fee split (upgrade v7)

From upgrade v7 a curve's fee goes 25 % to the network's security and 75 % to a split fixed in the launch transaction: the creator, buyback & burn, and up to three Flush addresses, five shares at most, in basis points that add up to 100 % of the 75 %. The same split takes the creator's 60 % of the graduated pool's fees. With no split given, all 75 % goes to the creator.

  • The creator claims its part with Claim: in ECX Wallet, or the Flush app (claimlaunch).
  • Buyback & burn: the chain buys the token back with it and burns it, every block.
  • Extra addresses are paid by the chain itself, with no claim, once each is owed 0.001 ECX or more.

Payouts in the next block

From upgrade v7, the ECX a trade pays out (swaps, curve sales, pools, auctions) arrives in the next block, about 15 seconds, no longer waiting for an eCash anchor. Like the trade itself, it is soft until eCash anchors it. Deposits, withdrawals and unbonds still wait for the anchors.

07 Risks

Read these before you put ECX into anything here.

  • Most launches go to zero

    Anyone can launch anything. An asset is worth what the next buyer pays. Buy only what you can lose entirely.

  • Names and logos are not checked

    Tickers are unique, but look-alikes are easy and names, logos and links are whatever the creator wrote. Check the asset id.

  • The peg depends on eCash miners

    Withdrawals from the Flush sidechain back to the eCash mainchain need miner votes: more than 6,048 votes within 12,096 blocks, at least about six weeks. A majority of eCash's hash rate acting together could pay the escrow out wrongly. This is the drivechain trust model; there is no other guarantee.

  • New software

    Flush, its launches and its DEX are new code, not audited. A bug in the rules can freeze or lose coins.

  • A young chain

    Flush mainnet's slot 46 activated on eCash mainnet in block 978,331; its ECX are real. The chain is new: few validators, thin markets, young code. Validators have made its blocks of stake since activation, and eCash miners anchor them; without an anchor for 16 hours, blocks stop until one lands. Start with small amounts.

  • Thin markets

    Curves and young pools move a lot on small trades. Watch the price impact; set a slippage you accept.

  • Locked is locked

    A graduated pool's liquidity can never be withdrawn, by anyone. That protects buyers from a pulled pool; it also means no one can rescue it.

  • Soft until anchored

    A trade in a 15-second block can still be reorganised until eCash blocks anchor it: final after three anchors, about thirty minutes.

  • This site is only a window

    It reads an indexer that can lag or be wrong, and it never holds keys. The Flush app's own dialog, from your own node, is the truth. Nothing here is financial advice.

08 Questions

How do I get ECX onto Flush?
Deposit ECX from the eCash mainchain into the Flush sidechain (a BIP300 deposit, Get started, step 03). To leave, withdraw from the Flush sidechain back to the eCash mainchain.
Do I need a wallet extension?
No. The Flush app is the wallet. The site writes a request; the app opens it, shows it, and signs only if you confirm. Another way is ECX Wallet on the web: open flush.markets in its Apps view, or press Connect here and it opens in a window of its own. It signs each swap, buy, sell, launch or claim only after you approve it there. ECX Wallet's browser extension signs on Flush mainnet from its next release.
Why is there no USD price?
Everything on Flush is priced in ECX. The site does not read outside prices.
Can a creator change the supply or the curve?
No. Both are fixed at launch by the rules of the chain.
Is there a Flush asset of its own?
No. ECX is the coin. Tokenomics beyond fees are not decided; nothing is for sale.

Confirm in the Flush app

Launch with ECX Wallet

  1. Connect ECX Wallet (Blind Signing on for this site)
  2. Sign the reservation of the ticker
  3. Wait for it in a block
  4. Sign the launch of the token

ECX Wallet can't show a launch yet, so it asks you to sign each step blind: check that it names flush.markets. You approve two transactions: the reservation, which hides the ticker until it's yours, then the launch.

Claim with ECX Wallet

Sign the claim in ECX Wallet.

ECX Wallet can't show a claim yet, so it asks you to sign it blind: check that it names flush.markets. A claim pays only the launch's creator, your address: what you are owed in fees, and your tokens once they are due.

Your swap

Connect

Connect ECX Wallet, the browser wallet: it shares your Flush address, so the site shows what you hold, and signs your trades and launches. Your keys stay in it. No ECX on Flush yet? Get started.

Takes this tab to ECX Wallet at wallet.blockfab.org, with this page open beside it: you unlock the wallet there and approve each action; nothing to install.

Or use ECX Wallet's browser extension for desktop Chrome, Brave, Edge and Firefox: get it (a pre-release: unzip it, then Load unpacked; how).The extension signs on Flush mainnet from its next release; the web wallet does today.

Using the Flush desktop wallet?

There's nothing to connect. Each action on this site has an in desktop wallet button that opens it in the Flush app on your computer, where you check and sign it. Set it up.

Receive

Connect your Flush address first (read only: the site never holds a key), or show the receive address in the Flush app.