Every block
30 blocks on 11 colored lines. Each block reads as a sentence, and the white pills are what you set. Below each one: what it does in the builder, and what it does on a launched coin.
Events
Start a run: fees, trades, volume, market cap, price moves, holders, timers.
Fees arrive
When creator fees arrive
Runs each time the coin's creator fees are collected into its vault.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
A trade
When someonebuys or sells
Runs on each buy or sell of the coin.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Volume step
EveryamountSOL of volume
Runs each time total trading volume passes another step.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Timer
Everyminutesminutes
Runs on a schedule. One minute is the shortest interval.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Daily
Every day attime
Runs once a day at a set time in the coin's timezone.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Market cap level
When market capdirection$dollars
Runs once each time the level is passed, then rearms after a 5% move back.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Price move
When pricedirectionpercent% withinminutesminutes
Runs once per move, then rests for the same number of minutes.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Holder count
When holdersdirectioncount
Runs when the number of holders passes a level.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Graduation
When the coin graduates from the bonding curve
Runs once, when the coin moves from its pump.fun curve to a pool.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Page button
When someone presseslabelon the coin page
Adds a public button to the coin page. One press per wallet per minute.
- Builder:
- Fire it from the test ride.
- Launched:
- Fires from Solana trades, fee collection and the one-minute runner tick.
Logic
Branches: if, chance, repeat, cooldown, wait and stop.
Ifwrapper
Ifcheck
Runs the inside only when the check is true. Optional otherwise branch.
- Builder:
- Runs the same as on a live coin.
- Launched:
- Runs inside the run. Chance rolls are printed on the ticket.
Chancewrapper
Withpercent% chance
Runs the inside at random. The roll is written on the ticket.
- Builder:
- Runs the same as on a live coin.
- Launched:
- Runs inside the run. Chance rolls are printed on the ticket.
Repeatwrapper
Repeattimestimes
Runs the inside several times in a row.
- Builder:
- Runs the same as on a live coin.
- Launched:
- Runs inside the run. Chance rolls are printed on the ticket.
Cooldownwrapper
At most once everyminutesminutes
Skips the inside if it already ran recently.
- Builder:
- Runs the same as on a live coin.
- Launched:
- Runs inside the run. Chance rolls are printed on the ticket.
Wait
Waitsecondsseconds
Pauses the run. 30 seconds at most.
- Builder:
- Runs the same as on a live coin.
- Launched:
- Runs inside the run. Chance rolls are printed on the ticket.
Stop
Stop this run
Ends the run here. Nothing below it runs.
- Builder:
- Runs the same as on a live coin.
- Launched:
- Runs inside the run. Chance rolls are printed on the ticket.
Checks
Yes or no questions a branch can ask.
No blocks of their own. A check is the question inside an If: the trade size is at least 1 SOL, the vault holds more than 0.01 SOL, market cap is above a level. Combine them with and, or and not.
Data
Numbers, random picks, lists and coin stats.
No blocks of their own. Data fills the inputs of other blocks: a fixed number, a percentage of the fees, a random number, a pick from a list, or a coin stat such as holders, volume or the vault's SOL.
State
Values the coin remembers between runs.
Set value
Setnametovalue
Stores a value the coin remembers between runs.
- Builder:
- Kept for the test ride only.
- Launched:
- Stored by OneLine between runs.
Change value
Changenamebyvalue
Adds to a stored number. Use a negative number to subtract.
- Builder:
- Kept for the test ride only.
- Launched:
- Stored by OneLine between runs.
Money
Buy back, burn, sell, send and airdrop from the coin's vault.
Buy backmoves money
Buy back the coin withamountSOL
Spends SOL from the vault to buy the coin on the market. Tokens stay in the vault.
- Builder:
- Pretend: simulated curve, pretend vault.
- Launched:
- Real SOL and tokens from the vault, inside the limits.
Burnmoves money
Burnpercent% of the tokens the vault holds
Destroys the coin's own tokens held by the vault, for good.
- Builder:
- Pretend: simulated curve, pretend vault.
- Launched:
- Real SOL and tokens from the vault, inside the limits.
Sellmoves money
Sellpercent% of the tokens the vault holds
Sells some of the coin the vault holds. The SOL stays in the vault.
- Builder:
- Pretend: simulated curve, pretend vault.
- Launched:
- Real SOL and tokens from the vault, inside the limits.
Sendmoves money
SendamountSOL towallet
Pays SOL from the vault to one wallet.
- Builder:
- Pretend: simulated curve, pretend vault.
- Launched:
- Real SOL and tokens from the vault, inside the limits.
Airdropmoves money
AirdropamountSOL or cointowho
Splits an amount between holders. 50 wallets per airdrop at most.
- Builder:
- Pretend: simulated curve, pretend vault.
- Launched:
- Real SOL and tokens from the vault, inside the limits.
Stocks
Buy and sell tokenized stocks with the coin's fees. Up to 3 per coin.
Buy stockmoves money
BuystockwithamountSOL
Swaps SOL from the vault for a tokenized stock it keeps.
- Builder:
- Pretend: simulated swap, pretend vault.
- Launched:
- Real swap from the vault through Jupiter, inside the limits.
Sell stockmoves money
Sellpercent% of the vault'sstock
Sells a tokenized stock the vault holds back to SOL.
- Builder:
- Pretend: simulated swap, pretend vault.
- Launched:
- Real swap from the vault through Jupiter, inside the limits.
AI
Writes posts and names. Paid from the coin's fees.
AI writes
AI writeswhoabouttopic, saved asname
Paid from the coin's fees. With no AI credit the step is skipped and the ticket says so.
- Builder:
- Returns sample text.
- Launched:
- Needs AI credit, paid from fees. No credit means the step is skipped.
Web
Reads public JSON from the web.
Read web value
Readfieldfromaddress, saved asname
Reads one field from a public JSON API through a safe fetcher.
- Builder:
- Skipped: web reads run on live coins.
- Launched:
- Real HTTP request through a safe fetcher.
Social
Sends webhooks to Discord, Telegram bots or your own server.
Webhook
Sendtextto webhookaddress
Posts JSON to a URL you set: a Discord or Telegram bot, or your own server.
- Builder:
- Not sent: the ticket marks it pretend.
- Launched:
- Real HTTP request through a safe fetcher.
World
The coin's public feed and counters on its page.
Post to feed
Posttextto the coin's feed
Adds a line to the public feed on the coin page.
- Builder:
- Shows in the test ride feed.
- Launched:
- Stored by OneLine and shown on the coin page.
Counter
Change thenamecounter bynumber
Shows a public number on the coin page.
- Builder:
- Shows in the test ride feed.
- Launched:
- Stored by OneLine and shown on the coin page.
Missing a block?
Tell us on X what you want your coin to do and the sentence you would write for it. Requests with a clear sentence are the easiest to turn into a block.