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

Betanet Preview data

How it works

Tokens 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 a token sold by the chain itself on a bonding curve, until 500 ECX have 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.

The supply is 21,000,000 tokens, fixed at launch: 16.80M are sold by the curve, 4.20M are kept for the pool. Nobody, the creator included, can mint more. The creator may buy first, in the launch transaction itself.

02 The curve

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

price = (virtual ECX + ECX raised)² / k      k = 166.67 × 22,400,000

It starts at 0.000007440 ECX and ends at 0.0001190 ECX, 16 times higher, when the last of the 16.80M is sold. The ECX of the curve is held by the rules of the chain: no operator, no keeper, no key.

PRICE500 ECX · GRADUATION0
Price of one token against the ECX in the curve.

03 Graduation

The block in which the curve reaches 500 ECX closes it and opens a pool TOKEN/ECX on the Flush DEX with the 500 ECX and the 4.20M kept tokens. 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. From then on the token trades like any asset on Flush: routes through several pools, the orders of a block cleared together, a time-weighted price feed.

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 13,150 votes in 26,300 blocks, about three months on eCash's main network.
  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.

Blocks of stake in detail

06 Fees

WhatFeeGoes to
A trade on the curveTBDTBD: read from the chain once set
A swap in a pool0.3%The pool (its locked liquidity)
A launchTBDSet by the chain
Every transactionnetworkThe block's producer and the fee pot

The site shows the values the chain gives; it adds no fee of its own. There is no platform token and no buyback.

07 Risks

Read these before you put ECX into anything here.

  • Most launches go to zero

    Anyone can launch anything. A token 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 take about three months of miner votes. 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.

  • Not live yet

    Slot 46 must be proposed and activated on eCash first. Until then, everything here runs on test networks, and numbers on this site may be sample data.

  • 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.
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 token?
No. ECX is the coin. Tokenomics beyond fees are not decided; nothing is for sale.

Confirm in the Flush app

Connect

Flush keeps your keys in the Flush app. Here you only share an address, so the site can show your holdings. No ECX on Flush yet? Deposit ECX from the eCash mainchain into the Flush sidechain.

Opens the app, which asks you which address to share and sends you back here.