Say it
See it
Lock it
Ride it
OneLine000
Skip to content

How OneLine works

Blocks and runs, where a coin's money sits, what it costs, and how anyone can check what a coin did. Written for the version of OneLine running today.

What OneLine is

OneLine turns one sentence into rules for a pump.fun coin. You test those rules with pretend money, then launch with a single wallet signature, and the coin runs them alone, paid from its own creator fees. Every run prints a ticket whose hash is anchored on Solana, so holders can check what happened without taking anyone's word for it.

How a block reads

A program is a set of lines. Each line opens with one event and runs its blocks from top to bottom. The blocks are the whole program: there is no code underneath them to edit.

FNSenda fifth of the fees that arrivedtoa random holder
Tag and color
Two letters for the category. FN is Money, and red is always Money.
Words
What the block does, as a sentence you can read aloud.
Inputs
The white pills. Press one to change an amount, a wallet or a number.

Three shapes

  • Event starter

    Opens a line. Every line has exactly one, at the top, and nothing can sit above it.

  • Action

    Does one thing, such as a buy back or a post, then hands over to the block below it.

  • Wrapper

    Holds blocks inside it and decides if they run: If, Chance, Repeat and Cooldown.

One block breaks the pattern: Stop ends the run where it stands, so nothing can sit under it.

Eleven lines

Every block belongs to one category, and the category decides its line color.

  • EVEvents. Start a run: fees, trades, volume, market cap, price moves, holders, timers.
  • LGLogic. Branches: if, chance, repeat, cooldown, wait and stop.
  • CTChecks. Yes or no questions a branch can ask.
  • DTData. Numbers, random picks, lists and coin stats.
  • STState. Values the coin remembers between runs.
  • FNMoney. Buy back, burn, sell, send and airdrop from the coin's vault.
  • SKStocks. Buy and sell tokenized stocks with the coin's fees. Up to 3 per coin.
  • AIAI. Writes posts and names. Paid from the coin's fees.
  • WBWeb. Reads public JSON from the web.
  • OPSocial. Sends webhooks to Discord, Telegram bots or your own server.
  • WDWorld. The coin's public feed and counters on its page.

Checks and Data have no blocks of their own. They live inside the inputs of other blocks: the question an If asks, a random pick, a coin stat such as market cap.

See every block

What happens on a run

  1. An event fires. Fees land, someone trades, volume passes a step, a timer ticks, a level is crossed, the coin graduates or someone presses the page button. Every line that starts with that event gets its own run.

  2. Blocks run top to bottom. Each block finishes before the next one starts, and later blocks can use values that earlier ones produced.

  3. Wrappers decide. If, Chance, Repeat and Cooldown check their condition, then run or skip what sits inside. A Chance roll is printed on the ticket.

  4. Memory carries over. State blocks keep values between runs, so a coin can count milestones or remember a name.

  5. A run has a ceiling. 500 steps at most. If a money step fails, the run stops there and the ticket says why.

In the builder: pretend

A simulated bonding curve, pretend wallets and a pretend vault. The test ride fires these events at your draft:

  • buy
  • sell
  • +volume
  • fees
  • timer
  • holders
  • dump
  • graduate
  • button

On a launched coin: real

Trades are read from Solana and timers tick once a minute. Money blocks spend SOL from the coin's own vault, inside its limits, and every run prints a ticket.

The vault

Each coin gets its own vault at launch: a Solana wallet that receives the coin's creator fees and pays for everything its rules do. Here is who can do what with it.

WhoCanCannot
The creatorCanReceive whatever the rules send them, for example a Send to the creator.CannotWithdraw by hand, edit the rules, raise the limits or change where fees go.
OneLineCanHold the vault key, encrypted, and sign the actions the locked rules produce, inside the limits.CannotEdit a coin's rules or limits. The product has no edit path, for us or anyone.
The rulesCanBuy back, sell, burn, send and airdrop SOL and the coin's own token, and trade the stocks picked at launch.CannotTouch any other token, spend past the limits, or spend more than the vault holds.
AnyoneCanLook up the vault on Solana and follow every move it makes, then match each one to a ticket.CannotMove anything.

How custody works

The vault is a regular Solana keypair. OneLine's server generates it when you launch and stores the secret key encrypted with AES-256-GCM. You never hold it. The runner decrypts it only to sign an action that the coin's locked rules produced, inside the limits.

That makes OneLine a custodial operator. The vault is not a program-owned smart wallet, and Solana does not enforce the rules: OneLine's code does. What you can check is the record. Every move the vault makes is a public transaction, and every run has a ticket anchored on Solana, so a move without a matching ticket would be visible to anyone.

How fees are collected

You never claim anything by hand. Collection runs on its own, and it is the start of most coins' rules.

  1. A trade happens

    pump.fun charges a creator fee on every buy and sell of the coin.

  2. The fee waits

    The coin's creator on pump.fun is its vault, so the fee is owed to the vault, not to a person.

  3. The runner collects

    Every minute it checks what is waiting. It collects at 0.01 SOL, or after 30 minutes if less has built up.

  4. A fee event fires

    Lines that start with “When creator fees arrive” run with the exact amount collected.

Money blocks

Pretend in the builder, real on a launched coin. Every one of them spends from the coin's vault and from nowhere else.

FNBuy back
Spends SOL from the vault on the coin. The tokens it buys stay in the vault.
FNBurn
Destroys a percentage of the tokens the vault holds. Burned tokens are gone for good.
FNSell
Sells a percentage of the tokens the vault holds. The SOL from the sale stays in the vault.
FNSend
Pays SOL to one wallet: an address you type, a random holder, the biggest holder, a random buyer from the last N minutes, the biggest buyer, the latest buyer, the creator, or the wallet that triggered the run.
FNAirdrop
Splits SOL or the coin's tokens between holders: all holders by size, the top N, or N random holders. 50 wallets per airdrop at most.
SKBuy stock
Swaps vault SOL for a tokenized stock through Jupiter. The vault keeps the stock.
SKSell stock
Sells a percentage of a stock the vault holds, back to SOL.

When nobody fits a pick, for example no one bought in the last hour, the step is skipped and the ticket says so.

Limits

Every coin launches with spending caps. They are part of the program, so the fingerprint covers them and they lock with the rules.

  • 5 SOL
    per run
  • 15 SOL
    per rolling hour
  • 60 SOL
    per rolling day
  • 3%
    max slippage on swaps
  • 50
    wallets per airdrop
  • 0.002 SOL
    always kept for network fees

A step that asks for more is cut down to what the limits and the vault allow, and its ticket line says it was capped. A rule can never spend more than the vault holds.

What OneLine charges

  • Launch fee0.05 SOL

    Once per coin. Your wallet shows it before you sign.

  • Vault setup0.01 SOL

    Sent from your wallet to the coin's own vault at launch, for setup and gas. It stays the coin's money.

  • Creator fees0%

    OneLine takes no share. Every creator fee goes to the coin's vault.

  • AI callsper call

    A small amount, paid by the coin from its fees. With no AI credit, the step is skipped.

  • Network feesSolana

    Transaction fees for vault actions are paid by the vault.

If OneLine is down

Pauses

  • The coin's rules
  • Fee collection into the vault
  • Payouts, buy backs and burns
  • New tickets

Keeps going

  • Trading on pump.fun
  • Creator fees piling up for the vault
  • The money already in the vault, untouched
  • Old tickets and their roots on Solana

pump.fun does not depend on OneLine, so the coin keeps trading. Because OneLine holds the vault key, nobody else can run the rules while it is down. That is the cost of the custodial setup, and you should weigh it before you launch.

Tickets

Every run prints a ticket, including runs where nothing moved. It records what happened, step by step, in a form anyone can check later.

$EXAMPLE ticket
Run #0042 · 14:07:31 UTC
Example
When creator fees arrive
0.42 SOL of fees · tx 9fKd…w3Rt
  1. Buy back the coin with half of the fees that arrived.
    done · 0.21 SOL · tx 4Zq8…Lm2P
  2. Burn all of the tokens the vault holds.
    on its way · 1.84M tokens · sent, waiting to confirm
  3. With 25% chance:
    skipped · rolled 61, needed 25 or less
programa3f9c1e0
ticket9f2c71…e81a
solanabatch #128 · root b71d…04c2
Trigger
What started the run, with the Solana transaction when there is one.
Steps
Each block that ran, its status and the amounts it moved, with a transaction for each money move.
Program fingerprint
The SHA-256 of the locked rules, so you can match the ticket to the program on the coin page.
Ticket hash
A SHA-256 of the ticket itself. Change one character and the hash changes.
Batch and root
Ticket hashes are grouped into batches and built into a Merkle tree. The root goes to Solana in a Memo transaction.
Status marks
doneon its wayskippeddid not work

Checking a ticket

The Verify page does the math in your browser. Open /verify?ticket=<id> or paste a ticket id there.

verify · example values
ticket
9f2c71…e81a
SHA-256 recomputed in your browser
path
4 sibling hashes
walked from the ticket up to the root
root
b71d…04c2
the batch root this path produces
memo
oneline:batch:128:b71d…04c2
read from the Solana transaction
result
match
the ticket has not changed since it was anchored

A ticket that has not been batched yet shows as waiting for the next batch. Once its root is on Solana, the result can only change if someone edits the ticket, and then it fails.

Locked rules

At launch the program freezes. Its fingerprint, the SHA-256 of the program's canonical JSON, goes on Solana inside the launch transaction as oneline:v1:<fingerprint>.

There is no edit button for the creator, for OneLine or for anyone else. The coin page shows the rules in plain English generated from those blocks, and the creator cannot write or change that text. To make a coin do something else, you launch a new coin.

Plain English

The sentences on a coin page are written by OneLine from the blocks themselves. Nobody types them, so they say what the blocks do and nothing more. This is the Split the fees ready line, read out:

  1. When creator fees arrive:

  2. Airdrop half of the fees that arrived to all holders, by size.

  3. Buy back the coin with half of the fees that arrived.

  4. Burn all of the tokens the vault holds.

Example: generated from the blocks of Split the fees.Open it in the builder

From blocks to a live coin

  1. You

    Write the line

    Type a sentence, pick a ready line, or stack blocks yourself. The builder shows the rules in plain English as you go.

  2. You

    Take a test ride

    Fire pretend buys, sells, fees, timers, dumps and graduation at your draft and watch what each block would move.

  3. You

    Name the coin

    Name, ticker and picture, the same things pump.fun asks for.

  4. You sign

    One transaction

    It creates the coin on pump.fun with its vault set as creator, writes the rules fingerprint with the Memo program, pays the launch fee and sends 0.01 SOL to the vault.

  5. OneLine

    Checked, then live

    After confirmation OneLine checks on Solana that the coin exists and that its creator is the vault. Then the runner starts on the coin's next event.

Tokenized stocks

A coin can buy and sell tokenized stocks with its fees: xStocks issued by Backed, on Solana, swapped through Jupiter. A coin picks up to 3 at launch and that list never changes. They track a share price and are not shares.

The stock list and what to know

AI credit

The AI block writes a short post, a name, or a yes or no. Each call costs the coin a small amount, paid from its fees. If the coin has no AI credit, the step is skipped, the ticket says so, and the rest of the run carries on.

In the builder the AI block returns sample text. On a live coin, what it writes is used as written, with no person checking it first, and AI can be wrong.

Coin pages

Every launched coin gets a public page on OneLine. Holders use it to decide whether to trust the coin, so it shows the record:

  • The rules in plain English, generated from the locked blocks.
  • The blocks themselves, lighting up as each run plays through them, every step ending in a color for how it went.
  • Tickets for every run, each one ready to verify.
  • The public feed and counters that World blocks write.
  • The page button, if the coin has a button event.
Browse launched coins

Questions

Can I change my coin's rules after launch?
No. Nobody can, including OneLine. If you want different rules, launch a new coin with them.
Who holds the vault key?
OneLine's server. It generates a keypair for each coin and stores it encrypted. That makes OneLine a custodial operator, and the vault section above explains what that means for you.
Can the creator take the fees?
Only if the rules say so. A Send to the creator pays the creator; without one, the creator gets nothing from the vault.
What does OneLine earn?
0.05 SOL per launch, shown before you sign. No share of creator fees.
What if a rule asks for more than the limits allow?
The step is cut down to what the limits and the vault allow, and its ticket line says it was capped. It never spends past the limits.
Is the money in the builder real?
No. The builder uses a simulated curve, pretend wallets and a pretend vault. Real money only moves on a launched coin.
Do buyers need OneLine to trade my coin?
No. The coin is a normal pump.fun coin. People buy and sell it on pump.fun, or wherever it trades after graduation.
My rule pays a random buyer from the last hour. What if nobody bought?
The step is skipped and the ticket says why. Nothing is sent.
Can a coin trade any token it likes?
No. Its own token, SOL, and up to 3 tokenized stocks picked at launch. Nothing else.
Who reads my sentence?
A grammar reader in your browser turns it into blocks. When the server has an Anthropic key, it can also ask Claude to read sentences the grammar misses. Either way you see the blocks before anything launches.
How do I check a ticket is real?
Open it on the Verify page. Your browser recomputes its hash and checks it against the root written on Solana.
Has $LINE launched?
Not yet. Every place that would show its contract says Launch soon until it is live. The flywheel page explains what launch fees will do for it.