Scaffold-HBAR template
Launch a token. Give it a market. Block by block.
LaunchBlocks turns a Hedera token launch into blocks you snap together: create an HTS token, open a public HCS log, seed a SaucerSwap pool and make the first trade. Then it runs the launch on testnet and shows every transaction as it lands.
No wallet needed: the app's testnet account signs every run. Prefer your own? Connect a Hedera wallet in the studio and approve each transaction.
Verified on testnet
One run of the full launch. Every id is also recorded on its HCS log.
- Token LBM (1,000,000 supply)0.0.10674237
- HCS launch log0.0.10674240
- SaucerSwap pool, opening at exactly 0.0002 ℏ0.0.10674241
- First trade: 1 ℏ → 4,533.05 LBM, filled at the quote0.0.7231440-1790127891-895373365
Start from an example
Each opens in the Launch Studio, ready to edit, validate and run.
Token launch with a SaucerSwap market
The full launchpad: create the token, log the launch on HCS, seed its first SaucerSwap V1 pool against HBAR, make the first trade to prove the market is live, and record it.
Token launch with locked liquidity
The launch with a lock: open the SaucerSwap market, deploy a TokenLock contract, move the pool's LP tokens into it for 30 days, read the lock back, and record it on HCS.
Token launch priced in USD
Open the market at a dollar price: Pyth's HBAR/USD feed on Hedera works out the HBAR to pair with 50,000 tokens at $0.00002 each, then the token, its launch log and the SaucerSwap pool follow. Historical demo: freshness is disabled; the verified run used a price published 2026-08-23 at 22:59:15 UTC. Fresh updates were rejected in our September 24 check.
Token launch with scheduled unlocks
Hold back part of the supply and schedule it to unlock in two tranches, at 30 and 60 days. The network mints each one on its date with nobody online.
HTS token launch with HCS log
Fungible token with a fractional fee, finite supply and a public HCS launch log; mints a reserve and records it.
How it works
Compose
Snap steps together. Sockets take a typed value or an output of an earlier step, dragged from the Outputs drawer.
Check
Every param and every reference is validated against the step schemas, and the cost is shown, before a single HBAR is spent.
Run
Steps execute on testnet in order, signed by the app's account or your own wallet. Each block turns green as its transaction reaches consensus, and the launch gets a public page built from its HCS log.
Export
Share it as a link, download it as JSON for the CLI or as a launch.ts script for this workspace, or let a coding agent build it over MCP.
Under the hood
Creating a pool and trading against it takes a few SDK calls. Getting them right took measurements on testnet: the LP recipient must be the account's EVM alias, the pool is created in two calls so the opening price comes out exact, and the documented gas is too low.
Read how the SaucerSwap integration works- Token Service
- Fungible tokens with configurable keys, finite or infinite supply, fractional and HBAR custom fees, mints, transfers and HIP-904 airdrops.
- Consensus Service
- A public, ordered, timestamped log per launch, in text or JSON.
- SaucerSwap
- The token's first pool with an exact opening price, then a first trade quoted by the router itself.
- Pyth
- USD pricing from Pyth's HBAR/USD feed. Historical demo only: fresh updates were rejected on Hedera in our September 24 check. The recorded example accepts a price published August 23, 2026 at 22:59:15 UTC.
- Schedule Service
- Vesting transfers and supply unlocks as long-term schedules, which the network runs on their date with nobody online.
- Smart contracts
- Deploy and call your own Hardhat contracts from blocks, such as a TokenLock that holds the pool's LP tokens for 30 days.
- Mirror node
- Free quotes, pool and contract reads, EVM-alias resolution, exchange rates, and reading the launch log back.
Make it your starting point
Scaffold your own copy, add a testnet operator, and launch. New step types slot into the registry and appear here with no frontend changes.
npm create scaffold-hbar@latest -- --template jmgomezl/scaffold-hbar-launchblocksHedera Harness
Let an agent add the next block
The template ships a Hedera Harness recipe. It asks a coding agent to add a Burn tokens step by following AGENTS.md, then grades the work itself, up to burning real supply on testnet. A full run passed: the agent built the step in about five minutes without touching the frontend, the harness's reviewer passed every acceptance check in the running studio, and its own account burned 100,000 tokens on testnet. Any launch you build can become a recipe of its own: in the studio, choose Export, then Harness recipe.
yarn harness:runThe recipe runs with Yarn, the template's default package manager.
- Tier 0–1
The step, its tests and a new example sit where AGENTS.md puts them; tests, lint, strict types, a dry run of the new flow and the production build pass.
- Tier 2
The app boots, and its pages and the step and gallery APIs render.
- Tier 3
Burn tokens is in the studio toolbox, its example loads as valid, and export generates the call.
- Tier 3.5
The new flow burns supply on testnet, signed by the harness's own funded throwaway account.