Skip to the page

Demo chain: example blocks

—

Lighthouse Counter

Counts rings of a bell. Remembers who rang last and when. It is a made-up contract, running in your browser so you can try the page without a node. It is not deployed on any chain.

BuiltThe node runs EVM contracts on the main line behind a genesis switch; these six contracts are examples in your browser, not deployed ones. Status

Address
3aea8f…69b7a0
Kind
Counter
Deployed at
45,120
Calls
57
Design preview: example data, not from a chain
The contract, as a machineDesign preview: example data, not from a chain
Rings
131
Last rung by
paper-comet
Last rung at
block 48,102
Most per call
3
Storage, 4 cellswired, waiting

Out tray

Press a key above. A question answers at once; a call is signed first.

Call a method

You are north-window (you) with 12,500 example BUN, at block 48,210.

How many times the bell has rung.

Answers at once. Nothing is signed.

What it offers, and what it holds

The interface is every way in. The storage is everything it remembers. A call can only change the cells its method is wired to.

Design preview: example data, not from a chain

Interface

  • rings(question

    How many times the bell has rung.

  • ring(times: number)call

    Ring the bell, up to three times in one call.

Storage

RingsEvery ring since deploy.
131
Last rung byThe caller of the latest ring.
paper-comet
Last rung atThe block it landed in.
block 48,102
Most per callSet at deploy.
3

Call history

Calls that became final, newest first. Questions are not listed: they change nothing and are never put in a block.

Design preview: example data, not from a chain
CallMethodArgumentsCallerBlockWhat it did
57ring2 timespaper-comet48,102rang 2 times; the count is 131
56ring1 timemossy-otter47,870rang 1 time; the count is 129

Showing the latest 2 of 57 example calls.

Source

Nobody has shown that a sketch matches this contract’s code yet. Until then, the page shows no source.

Design preview: example data, not from a chain

Verifying takes a sketch, rebuilds it, and compares the result with the code at this address. Try it with this contract.

Verify Lighthouse Counter