The Builder
The Builder is the studio of a layer: the palette on the left, the canvas in the middle, the inspector on the right, and the deployment timeline and log at the bottom. On a phone the four parts are tabs: Canvas, Add, Inspect and Log.
#Which layer it shows
The layer selector in the top bar decides. The Builder opens on the layer named in the link (/app/builder?layer=<slug>), otherwise the last layer chosen in this browser, otherwise the first live layer.
Preview, no layer yet shows the plan of a layer instead: the same plate with dashed edges and a Preview stamp. Nothing on it is live and deploying is off.
#The canvas
The canvas is drawn as a technical plate in two frames: Elysium, the parent chain, and your layer.
| Node | What it stands for |
|---|---|
| Elysium | The parent chain, 99901, gas in HYPE. |
| Inbox, Bridge, Outbox, Rollup, SequencerInbox | The layer's rollup contracts on Elysium. |
| Sequencer | Orders transactions; shows the block target. |
| Batch poster | Posts batches; shows how many are on Elysium. |
| Validator | Posts assertions. |
| Apps | Every app listed on the layer, plus your planned nodes and AI builder drafts. |
The edges name the flows: HYPE deposits (Elysium to Inbox), escrow (Inbox to Bridge), delayed messages (Inbox to Sequencer), batches (Batch poster to SequencerInbox), assertions (Validator to Rollup), withdrawals (Sequencer to Outbox), HYPE out (Outbox to Elysium), and one edge from the sequencer to each app.
Each node carries its state in small letters: planned, deploying, live or error.
#Live events
While a live layer is selected, the page reads, every 5 seconds, the SequencerInbox batch count and the Bridge's delayed message count on Elysium, and the layer's newest blocks and withdrawal events. A new batch lights the batches edge; a new delayed message lights the deposit and delayed message edges; a new withdrawal lights the withdrawal and HYPE out edges. Each also writes a line in the log. Edges move only on these readings, never on a timer.
#The palette
- Apps. The six templates. Drag one onto the canvas or tap its + button. Custom contract opens the AI builder tab.
- Contracts. Opens any template, the DemiurgeHub, or any of the five rollup contracts as a schema.
- AI builder. A box for one sentence and a Build it button. See The AI builder.
#Planned nodes and deploying
A template dropped on the canvas becomes a planned node. Select it and the inspector shows its form (the fields of each template). Deploy with your wallet sends one contract creation on the layer, signed by your wallet, with a gas limit of 4,000,000, or the layer's own estimate plus 30% when that is higher (at least 6,000,000 for Pools). When the receipt arrives, the site lists the app and the node turns live.
Deploying needs a live layer: in Preview the button says A live layer is needed, and on a layer that is still starting it says This layer is still starting.
Planned nodes exist only in this browser tab. Nothing is sent before you sign, and reloading the page clears the planned nodes you have not deployed. Remove from the plan deletes one.
#The inspector
| Selected | What it shows |
|---|---|
| Nothing | The layer's chain id, RPC path, block target and batch count, with Bridge, Explorer and Add to wallet. |
| A rollup contract | Its address and HYPE balance, and View the contract. The Inbox also has Bridge HYPE. |
| Sequencer, batch poster or validator | The chain id, RPC path, block target and, for the poster, the batch count, with Explorer. |
| A live app | Its address and HYPE balance, Open the app, Bridge, View the contract, and Redeploy for templates (a new planned node of the same template; the deployed app stays). |
| A planned template | Its form, Deploy with your wallet and Remove from the plan. |
| An AI builder draft | Your sentence, the summary, each test with its gas, View the contract, and Deploy with your wallet once every test has passed. |
#The console
Deployment is the layer's timeline: Rollup created (with its time), Node running, First batch on Elysium, then the four most recent apps. Log keeps the last 120 lines of this session: what you added, deployed, and the live events above.
#The contract schema view
View the contract, or any row of the Contracts tab, opens a contract as a schema:
- Callers of each function that writes: Owner, Operator, Creator, Player or session, or Anyone.
- Functions with their arguments; read-only functions are shaded.
- State variables with their types, and events.
- Lines from each caller to the functions it may call, from each function to the state it writes, and dashed lines to the events it emits. Hover a function to see only its lines.
- A Source tab when the source is known: templates, the Hub and AI builder contracts.
On a narrow screen the same content is a list: writes (with their caller, and whether they pay out HYPE or tokens), reads, state and events.
The schema is drawn from the ABI plus a reading of the source, so it is a reading aid; the code in the Source tab is what runs. The five rollup contracts open as a short list of the functions users and the operator touch, without source.
Demiurge