This is the page to read first. It goes from git clone to three things open in front of
you: a three-node network that stays up, an explorer showing that network's real blocks, and an
operating surface you can act on it from. Every command below was run, and the output under it
is what came back — trimmed only where a banner repeats itself.
Every claim is labelled. MEASURED means it was observed by running the thing named.
REASONED means it is an argument from code that was read. Where something did not work, it
says so at the step rather than in a footnote.
Where these outputs came from. MEASURED, 2026-09-07, on Windows 11, Node v22.14.0, from a fresh
clone at commit a78ab19. Ports, node ids, pids and hashes will differ on your machine; the
shapes will not. Paths are written <repo> for the directory you cloned into: this walkthrough was
performed start to finish rather than reconstructed.
The four things this page introduces have their own pages, and you do not need them yet:
| POLARIS.md | the standing network — testnet:up/down/status/seed/smoke |
| GUNGNIR.md | the operating surface — what an admin can and cannot do |
| XPLORER.md | the explorer's four modes, and which chain a page is showing |
| PROCEDURES.md | what to read when something is wrong |
0. What you need#
Node.js 22.11 or newer, and git. Nothing else: no account, no service, no key, no access to any
particular machine. Two direct runtime dependencies (@noble/post-quantum and @noble/curves)
and four development-only ones.
node --versionv22.14.0MEASURED. The engines field in package.json requires >=22.11, the first long-term-support
release of Node 22. It said >=20.11 until 2026-11-24; Node 20 reached end of life on 2026-04-30
and CI no longer runs it.
1. Clone, install, build#
git clone https://github.com/alexccoin/strblkv1.git
cd strblkv1
npm ciadded 78 packages, and audited 79 packages in 998ms
21 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilitiesMEASURED. npm ci and not npm install: ci installs the exact tree in
package-lock.json and fails if the lockfile and package.json disagree, which is what makes
two clones of the same commit the same build.
npm run build> sourceless-chain@0.2.0 build
> tsc -p tsconfig.json
real 0m5.375sMEASURED. There is no bundler and no post-processing: tsc writes dist/, and
dist/src/cli/strblk.js is the CLI everything below runs.
2. Prove the build before you trust it#
npm test RUN v4.1.11 <repo>
Test Files 261 passed (261)
Tests 4931 passed (4931)
Start at 15:22:55
Duration 16.98sMEASURED, in the fresh clone, with no environment set up beyond npm ci. If this is not green
on your machine, stop here: everything after this point assumes the build does what its tests
say it does.
npm run ci runs typecheck, build and the suite together, and is what a pipeline should call.
2.1 The whole world, on this machine#
Corrected 2026-11-23. From 2026-09-18 this section said the build cannot run Midgard, because Midgard then declared consensus rule version 1 and this build did not implement it. All three realms declare version 3 from height 0 now, and Midgard starts: a follower (
strblk node --network midgard --block-interval 0) was measured on 2026-11-22 reporting genesise88a8753…and healthy. Without a seat key it needs that--block-interval 0.npm run worlditself has not been re-run since and is unmeasured on this build.
Almost all of the suite above runs in one process. That is the right place to prove arithmetic and the wrong place to find what breaks. Several defects that the whole suite passed over were found only by running real nodes against each other: out-of-turn seal refusals counted as failures, seven contract deployments accepted at the door and refused at the seal with nothing anywhere saying so, and a stale chain-wide nonce shared between record kinds signing for one account.
So there is a second exercise, and it is the heavier of the two:
npm run world # 13 nodes, three hours
npm run world:shakedown # 5 nodes, five minutes — enough to catch a broken build
npm run world:stop # tear it down, from another terminalIt starts thirteen validator nodes as real operating-system processes on real Midgard seats,
has users claim and prove STR.domains through the public door, deploys and calls all seven
contract templates, exercises every record kind a block can carry, and then runs sustained load
with the chain's own invariants re-checked every cycle. The explorer, the browser wallet and four
Gungnir consoles come up with it; the addresses are printed at the top of the run.
Both world targets package the Windows executable first, because that is what the nodes are
started from. This exercise is Windows-only: it starts dist-windows/strblk.exe and stops it
with taskkill. Everything else in this document runs anywhere Node does.
Read the verdict, not the noise. The run ends with two counts and they mean different things:
| Line | What it means | Exit code |
|---|---|---|
divergences (chain defects) | Nodes disagreed, or an invariant broke. This is a defect. | non-zero |
refusals (the chain said no) | The chain declined a record. Very often it was right to. | zero |
Only a divergence fails the run, and that distinction is load-bearing rather than cosmetic. A
record-refused fault is documented in src/ops/eir.ts as "a fault about ONE record and never
about the node: the block sealed, the chain is healthy" — so it is a refusal. Reading it as a
divergence, which this harness did until it was corrected, put DIVERGED=1 on all 1,298 status
lines after a single refused wrap in cycle 7 of a three-hour run and exited non-zero on a
network that was behaving perfectly. A harness that cries defect at a healthy chain is worse than
no harness, because the next real divergence arrives in a report nobody trusts.
A run leaves three things behind, and they outlive the network:
.world/report.json— every finding, in the chain's own words.world/status.json— the live view, rewritten every cycle; readable while the run is going.world/world.log— the full transcript
MEASURED on this machine, npm run world:shakedown: 0 divergences, 1 refusal, peak height 34,
exit 0. The one refusal was the chain correctly declining a delegation record whose nonce this
harness had staled — a harness defect, reported as a refusal, which is exactly the classification
working.
3. Start the network#
The network is Polaris. It is not npm run testnet — that starts 13 processes, runs forty
checks, prints a verdict and destroys everything it made. Polaris keeps a network standing on
directories under .sourceless/polaris/, survives a stop and a start with the chain intact, and
runs no checks at all.
npm run testnet:upstarting 3 node(s) in development mode; supervisor pid 55908
log: <repo>\.sourceless\polaris\polaris.log
==============================================================================
Polaris — 3 node(s) up, development mode, development genesis, declared roster
==============================================================================
chain SourceLess development chain (chain id 31337)
realm unregistered — this genesis is in no register
genesis hash 8ee28b94b15c1db6cfb7e052d2ade53b5e1a8be5d8698e17a679f4b567a576ea
keys harness seeds — sourceless-testnet/producer/N, public and not a custody claim
data root <repo>\.sourceless\polaris
manifest <repo>\.sourceless\polaris\polaris.json
node1 STR.EC3D99E7C7CD
ops http://127.0.0.1:60005
admin (write) http://127.0.0.1:60004
p2p 127.0.0.1:60003
producer zk13str_8c1df54960d4cf7564a7…
data <repo>\.sourceless\polaris\node1
node2 STR.A04DCA7936A9
ops http://127.0.0.1:60009
admin (write) http://127.0.0.1:60008
p2p 127.0.0.1:60006
producer zk13str_fd8b8c40c473e9851bac…
data <repo>\.sourceless\polaris\node2
node3 STR.D93234D671A5
ops http://127.0.0.1:60013
admin (write) http://127.0.0.1:60012
p2p 127.0.0.1:60010
producer zk13str_0d575236d32cda1dee6e…
data <repo>\.sourceless\polaris\node3
slot 3000 ms
roster 3 seat(s), all filled — one block per slot
lifetime bound 168 h — every node stops itself after thisMEASURED. The banner continues with the two facts that otherwise read as bugs — an idle chain
does not advance, and most record kinds do not gossip. Both are covered in
POLARIS.md and neither is a fault.
Read the ports from the manifest, never from this page. Every port here is ephemeral: the
supervisor asks the OS for a free one on each start, so they change every time. The manifest at
.sourceless/polaris/polaris.json is the authoritative copy, and it is what the commands below
read.
node -e "const m=require('./.sourceless/polaris/polaris.json'); \
console.log('PEERS=' + m.nodes.map(n=>n.p2p).join(',')); \
console.log('VALIDATORS=' + m.nodes.map(n=>n.producerAddress).join(',')); \
console.log('OPS1=' + m.nodes[0].opsUrl)"PEERS=127.0.0.1:60003,127.0.0.1:60006,127.0.0.1:60010
VALIDATORS=zk13str_8c1df54960d4cf7564a7ec541f7ff9e4b1aa2e01_79ae,zk13str_fd8b8c40c473e9851bac1723c3ca2ff4737c28c8_6d86,zk13str_0d575236d32cda1dee6e4ddfb1d86934ae1ea298_8ff5
OPS1=http://127.0.0.1:60005MEASURED. Keep these three values to hand: the next two sections use all of them.
4. Give the chain something to do#
A network with nothing in it is at height 0 and stays there. MEASURED: a producer with an
empty queue seals nothing — the node's turn returns null before produceBlock is called
(the return null under heartbeatDue src/node/hestia.ts:4690). Since
2026-10-11 that holds at height 0 only: past genesis, a node with nothing held seals an empty
heartbeat block once the head is 60 s old and it leads the slot
(heartbeatDue src/node/hestia.ts:4690), so the height creeps up about once a minute with no work at all.
npm run testnet:seedseeding four wallets: reserve a name, be funded, prove it
names reserved yes, on every node
wallets funded 100000000000000000 minor each
domains proved alpha, beta, gamma — lock 10000000000000000 each
alpha STR.plalpha zk13str_c19f1351ca6a697d… 100000000000000000 minor, 10000000000000000 locked, proved true
beta STR.plbeta zk13str_962c21cecd3a3b78… 100000000000000000 minor, 10000000000000000 locked, proved true
gamma STR.plgamma zk13str_28040579fab8cbee… 100000000000000000 minor, 10000000000000000 locked, proved true
delta STR.pldelta zk13str_5ee3e46368090415… 100000000000000000 minor, 0 locked, proved falseMEASURED. Four wallets: three with a proved STR.domain, which is what admits a
transaction, and one (delta) allocated but not proved — it may receive and may not spend. That
asymmetry is the entry rule, and having one wallet on the wrong side of it is deliberate.
npm run testnet:smokesubmitting one domain burn, one domain sale and one wrap through the RPC surface
worst case 9s each: none of these three record kinds gossips
[ok] domain burn sealed and agreed STR.plbeta burned, 10000000000000000 released, on 3 node(s)
[ok] domain sale sealed and agreed STR.plgamma moved to delta for 5000000000000000 minor, lock moved with it
[ok] wrap sealed and agreed alpha holds 20000000000000000 minor WSTR
node1 height 7 head 9aa9c714680c644b… state 01ca2ef64107…
node2 height 7 head 9aa9c714680c644b… state 01ca2ef64107…
node3 height 7 head 9aa9c714680c644b… state 01ca2ef64107…MEASURED. Three identities changed hands and all three nodes independently reached the same
head and the same state root. The line about 9 seconds is not padding: none of those three
record kinds reaches a peer, so each waited for the node it was given to to lead a slot. See
POLARIS.md §4.
5. Check on it#
npm run testnet:status live, asked of each node just now:
node1 height 8 head 571609dca198ce26… state 01ca2ef64107… peers 2 produced 3 valid true
node2 height 8 head 571609dca198ce26… state 01ca2ef64107… peers 2 produced 2 valid true
node3 height 8 head 571609dca198ce26… state 01ca2ef64107… peers 2 produced 3 valid trueMEASURED. status reprints the manifest and then asks each node, over its operator
endpoint, what it holds right now. The last four lines are the live read; everything above them
came from the file. produced is per-process and resets on restart.
6. Open the explorer#
The explorer is XPlorer, and the mode you want is following: it joins the network as a read-only node of its own, verifies blocks with the same acceptance path a validator uses, and keeps them in a directory of its own. It holds no key, authenticates to nothing, opens no other process's store and stops nothing.
Use the PEERS and VALIDATORS values from section 3:
node dist/src/cli/strblk.js explorer \
--peers 127.0.0.1:60003,127.0.0.1:60006,127.0.0.1:60010 \
--validators zk13str_8c1df54960d4cf7564a7ec541f7ff9e4b1aa2e01_79ae,zk13str_fd8b8c40c473e9851bac1723c3ca2ff4737c28c8_6d86,zk13str_0d575236d32cda1dee6e4ddfb1d86934ae1ea298_8ff5 \
--port 8099 ############################################################
# SECRET KEYS ARE NOT ENCRYPTED AT REST #
############################################################
file: .sourceless\xplorer\identity.json
- SOURCELESS_KEY_PASSPHRASE is not set: this node's secret keys are stored UNENCRYPTED at rest.
Anyone who can read the data directory — a backup, a container image, another user on this
host — can sign blocks and peer records as this node. Do not run a validator like this.
XPlorer SourceLess
mode FOLLOWING — XPlorer is its own read-only node on this network
why --peers named 3 peer(s), so XPlorer syncs the chain itself and serves every panel
peers 127.0.0.1:60003, 127.0.0.1:60006, 127.0.0.1:60010
own directory .sourceless/xplorer — XPlorer's own, under XPlorer's own Cerberus lease
other stores none opened, none touched, no node stopped
node id STR.DBF6ECD5FEF6
class quasar — follow-only: production is fixed off and no producer key is held
listening (p2p) 53282
chain SourceLess Development
genesisHash 8ee28b94b15c1db6cfb7e052d2ade53b5e1a8be5d8698e17a679f4b567a576ea
producers declared (mode development)
height 0 held locally
network height unknown — no peer has advertised a height yet
caught up unknown — no peer has advertised a height yet, so being caught up is unmeasured
warning no peer has answered yet. Until one does, the height below is what this
follower holds and NOT what the network holds — and every page says so
listening http://127.0.0.1:8099
api http://127.0.0.1:8099/api
Read-only: GET and HEAD only, every write method refused with 405.MEASURED. Two things in that output deserve a moment.
The key warning is real and applies to the follower's own identity, not to yours. A
follower signs peer records as itself. It holds no producer key and cannot seal — MEASURED:
class quasar — follow-only: production is fixed off and no producer key is held — so the
exposure is that somebody who reads the directory can impersonate this viewer on the network.
Set SOURCELESS_KEY_PASSPHRASE before you run one anywhere that matters.
It starts at height 0 and says so honestly. network height unknown — no peer has advertised
a height yet is the important line: a follower that no peer has spoken to reports the network's
height as unknown rather than as zero, as its own height, or as an omission — all three of which
render to a reader as caught up.
Give it a few seconds and open http://127.0.0.1:8099/. The banner at the top of every page:
XPlorer following the chain as its own read-only node
height 8 of 8 on the network. 3 peer(s) connected, 4 known; 8 block(s) followed and 8 pulled in
by sync since this follower started. Caught up: this follower holds every block any peer has
claimed, so every panel below is the whole chain. Its own directory is .sourceless/xplorer, held
under its own Cerberus lease — no other node's store is opened, touched or stopped.
Seeds: 127.0.0.1:60003, 127.0.0.1:60006, 127.0.0.1:60010. Genesis 8ee28b94b15c1db6…,
producers declared, node id STR.DBF6ECD5FEF6.MEASURED. Height 8 of 8, matching what testnet:status said the nodes hold. Every panel
answers:
for p in / /network /blocks /txs /pending /contracts /identity /governance /bridge /ledgers /health; do
printf '%s %s\n' "$(curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:8099$p)" "$p"
done200 /
200 /network
200 /blocks
200 /txs
200 /pending
200 /contracts
200 /identity
200 /governance
200 /bridge
200 /ledgers
200 /healthMEASURED, and worth checking because there are three other ways to run this explorer and one
of them serves only two of these twelve. XPLORER.md is the page for that.
A real address, resolved out of a real domain, from the real chain:
curl -s http://127.0.0.1:8099/api/address/zk13str_c19f1351ca6a697d3976eb94c9f4336f411bb08a_2e9f{
"address": "zk13str_c19f1351ca6a697d3976eb94c9f4336f411bb08a_2e9f",
"kind": "account",
"domain": "STR.plalpha",
"domainStanding": "proved",
"standingNote": "This wallet holds a proved STR.domain with 1000 STR locked behind it, so it may spend.",
"wnftId": "d08a56408f3e8e9802b3ea5e9ea8f09faa41d3fe043e363709299496d4cacd9c",
"nonce": "1",
"balances": [ { "token": "STR", "symbol": "STR", "decimals": 13,
"balanceMinor": "80000000000000000", ... } ]
}MEASURED. That is alpha from section 4, minus the wrap: seeded with 10⁸ minor, 2×10¹⁶ moved
into WSTR by the smoke run.
7. Open the operating surface#
The explorer reads. Gungnir acts. It is a separate surface on a separate port, because the read surfaces are GET-and-HEAD-only by design and an operating surface needs a POST.
Gungnir runs inside a node, so you start a node with a dashboard rather than starting a
dashboard. The node can be a member of the network you already have: the Polaris chain is the
development genesis, so a --dev node pointed at the same peers joins it.
7.1 A key, and a roster that names it#
Gungnir signs every request as one identity. Generate a keypair:
node dist/src/cli/strblk.js keygened25519 account (zk13str)
address zk13str_aebead169184041ffc65b8c78d6468411be5bf2f_d6d4
public 6908fea499664d3207c0a9ccf02935568118ecafe9a9d9554909700c9ddb818d
private <64 hex characters, printed once>
Anyone holding the private key controls this address.MEASURED, with the private key withheld: whatever keygen prints on that line is the secret, and
it goes into the key file below and nowhere else.
Two files. The key file the dashboard acts with:
mkdir -p .local
cat > .local/gungnir-key.json <<'EOF'
{
"role": "operator",
"privateKeyHex": "<your-64-hex-private-key>"
}
EOFAnd the roster that says which addresses may act on this node at all:
cat > .local/roles.json <<'EOF'
[
{ "address": "zk13str_aebead169184041ffc65b8c78d6468411be5bf2f_d6d4", "role": "operator" }
]
EOFBoth files, or nothing works. REASONED, from the two mechanisms: the key file lets this
process prove which address it is; the roles file is what grants that address anything.
Roles are never taken from the caller. A dashboard with a key and no roster reads the node and
every action it attempts is refused and recorded as denied — GUNGNIR.md §3
shows exactly that, measured.
7.2 Start the node#
SOURCELESS_KEY_PASSPHRASE="a-passphrase-long-enough" \
node dist/src/cli/strblk.js node \
--dir .local/gnode --dev \
--peers 127.0.0.1:60003,127.0.0.1:60006,127.0.0.1:60010 \
--block-interval 0 \
--port 7500 --ops-port 8118 --rpc-port 8183 \
--dashboard-port 8120 --dashboard-host 127.0.0.1 \
--dashboard-key .local/gungnir-key.json \
--roles .local/roles.json--rpc-port is in that command on purpose. Without it Iris binds 127.0.0.1:8083 whatever
--port says, so a second node on one machine loses its public RPC to the first. It says so loudly
(iris/rpc-not-bound) rather than failing silently, but the flag is the fix and this page
omitted it until 2026-09-18.
SourceLess node
network dev (dev) — chain id 31337, development
genesisHash 8ee28b94b15c1db6cfb7e052d2ade53b5e1a8be5d8698e17a679f4b567a576ea
nodeId STR.DD050BC8A983
address zk13str_dd050bc8a9839a13581996f13b49ab743b511bf1_9d95
class quasar (power 50)
listening 0.0.0.0:7500
data .local/gnode
keeps full state yes
seeds 127.0.0.1:60003, 127.0.0.1:60006, 127.0.0.1:60010
advertised none — reachable only by dialling out
chain sync level with every peer we can see
block interval 0 — follows only (quasar was asked not to seal)
health healthy
note running in development mode: this node accepts a block from ANY
well-signed producer. Pass --genesis <file> to enforce the
authorised validator set before exposing it.
note --block-interval 0: this node will validate and relay but never seal a block.
operator endpoint http://127.0.0.1:8118 — read-only, GET and HEAD only
operations roster 1 address(es) may authenticate
audit trail durable, signed, 0 entr(ies)
dashboard http://127.0.0.1:8120 — Gungnir, the operating surface
dashboard acts as zk13str_aebead169184041ffc65b8c78d6468411be5bf2f_d6d4 as operator
dashboard session e5dc221b2d29… (carried in every form this surface serves)
peers 3
running. ctrl-c to stop.MEASURED. --block-interval 0 is deliberate: this node is joining a network with a declared
roster of three producers, and a fourth node sealing would be proposing blocks the other three
will not accept. It follows, it relays, it never seals.
Open http://127.0.0.1:8120/. It should be showing the same chain the explorer is:
curl -s http://127.0.0.1:8120/api/board | node -e "…"chainName SourceLess Development
height 8 head 571609dca198ce26dfa708a2bd95c81d7ad71a7c99f1154951317e6edb8138e0
authority {"actor":{"address":"zk13str_aebead169184041ffc65b8c78d6468411be5bf2f_d6d4","role":"operator"},
"roster":{"status":"known","value":1}}
queues 7 / 10 worst {"status":"unknown","reason":"this chain enforces no leader rotation at this
height, so every node may seal and there is no rotation to wait out."}MEASURED. Same head as the three Polaris nodes and the explorer. The roster reads 1 — the one
address in roles.json.
7.3 Do something, and read the receipt#
The first panel on the page is the one that stops people filing non-bugs: 7 of 10 record kinds never leave this node. Run the cheapest read to see the whole loop work:
TOKEN=$(curl -s http://127.0.0.1:8120/ | grep -o 'value="[0-9a-f]\{64\}"' | head -1 | grep -o '[0-9a-f]\{64\}')
curl -s -X POST http://127.0.0.1:8120/action \
-d "token=$TOKEN&action=account.read&address=zk13str_c19f1351ca6a697d3976eb94c9f4336f411bb08a_2e9f"Follow the redirect it returns and the result panel says:
account.read — allowed
zk13str_c19f1351ca6a697d3976eb94c9f4336f411bb08a_2e9f holds 80000000000000000 minor STR at nonce 1
audit entry #0 allowed account:read-any by zk13str_aebead169184041ffc65b8c78d6468411be5bf2f_d6d4
actor verified ae7d04fa9c4d8b8bc4a1556e8c3572008f3dff1871f6692bbfe17eb3044fc64dMEASURED. Every action — allowed, denied or failed — produces exactly one entry in the audit
journal, and the page shows you the entry it just wrote rather than asking you to take its word.
GUNGNIR.md is the page for what the twenty-five controls do, which ones are
deliberately disabled, and why a control you can see may still be refused.
8. What you have open#
At this point, MEASURED, four processes — and more listening sockets than processes, which
is the part this section used to leave out:
| Polaris supervisor + 3 nodes | the chain. npm run testnet:status |
| Iris, on every node | the public JSON-RPC endpoint, one per node unless you passed --no-rpc — so four of these, not one. strblk node binds 127.0.0.1:8083 by default, which is what the dashboard node in §7 is on; each Polaris node takes an ephemeral port instead and prints it, so read the real number from npm run testnet:status or the rpc (Iris, wallets) line on the Polaris banner. GET /rpc is the method catalogue |
| XPlorer, following | http://127.0.0.1:8099 — the network's blocks, from its own copy |
| A follower node with Gungnir | http://127.0.0.1:8120 — the operating surface |
| That node's operator endpoint | http://127.0.0.1:8118 — read-only, GET and HEAD |
Iris was missing from this table until 2026-09-08, and it is the one an outside program uses.
The other three surfaces are pages for a person: the explorer is for reading, Gungnir is for the
owner, the operator endpoint is for a metrics scraper. Iris is the only one a wallet, a dapp, an
exchange or a second implementation talks to, and it is the only one on this list that
accepts writes — eleven methods, submitTransaction through callContract. It is also the
only one whose absence is silent: a node started with --no-rpc, or one whose door could not
bind, looks completely healthy from every other surface here while no external client can reach
it at all. strblk status says which of those it is, in words.
Two things about it are worth knowing before you expose anything:
- It authenticates nobody, by design. Every write is a record already signed over its own fields plus this chain's genesis hash, so there is no caller to check — only work to bound. That bounding is a rate limit: 32 reads/s against 4 writes/s per address.
- It refuses to bind off loopback in the clear. A non-loopback
--rpc-hostneeds--rpc-tls-cert/--rpc-tls-key, or an explicit--rpc-behind-tls-proxy. There is no TLS anywhere else in this tree, so exposing it is a decision you make rather than one you reach by forgetting a flag. - Behind a proxy on the same machine, say so. With Caddy on 127.0.0.1 in front, keep
--rpc-hoston loopback and still pass--rpc-behind-tls-proxy: the statement wins over the loopback host, so/rpcreportsbehind-tls-proxyinstead of claiming nothing leaves the machine. It changes the description only. Per-client metering behind the proxy is--rpc-trust-proxy-address, a separate flag. - Behind a proxy on another host, name its range.
--rpc-trust-proxy-addressbelieves X-Real-IP from a loopback peer only. A proxy that connects from elsewhere, such as an ingress controller in a cluster, is named with--rpc-trust-proxy-from CIDR[,CIDR]beside it. Anything else that can connect from that range can pick its own bucket, so name the narrowest range that holds the proxy. Only private or local space is accepted, at least a /8 (IPv4) or a /32 (IPv6).
The wallet reaches it from the other side. strblk wallet --node URL defaults to
http://127.0.0.1:8083 — derived from the same constant Iris binds on rather than written
down twice, which is how it was found to have been a literal 8545 that nothing in this tree
has ever listened on. So a wallet finds an ordinary strblk node with no flags at all, and
needs an explicit --node for a Polaris node, whose port is ephemeral.
REASONED: nothing above is orphaned. Each Polaris node holds a pipe from the supervisor and
stops itself on EOF; the explorer and the dashboard node are ordinary foreground processes and
stop on Ctrl-C. Iris is not a process — it is a listener inside a node, so it stops when its
node does.
8.1 What is up on the machine these docs were written on#
MEASURED, 2026-09-07, and recorded because it differs from the walkthrough in one way worth
understanding. It is a snapshot, not a promise: check it with the commands above.
The point of this snapshot: a surface can be healthy, answering, and describing a different chain from the one you think you are looking at. The dashboard node below is on Midgard.
| Polaris | 3 nodes, height 7, head eaa2bae493ec693f…, state 3d829f4fd91e…, all three agreeing. p2p 127.0.0.1:57598 / :57601 / :57605 |
| XPlorer (Fylgja) | http://127.0.0.1:8099 — following, node id STR.BEB5AD1BD0CC, height 7 of 7, caught up, 3 peers |
| Gungnir | http://127.0.0.1:8402, operator endpoint on 8401 |
The dashboard is not on the Polaris chain, and this is the instructive part. MEASURED, from
its own board:
chainName SourceLess Midgard (testnet, public keys)
chainId 131313 genesis e88a875330e181f4… height 0
realm Midgard (midgard) — production
actor zk13str_3cbfc7358932d4cd2ae60cf1a2e168644c8b0e4c_6572 as governance
rosterSize 0Two facts follow, and both are worth reading before you conclude anything is broken:
- It is a different chain. It was started with
--network midgardon its own data directory, so it is a Midgard node at height 0 with no peers — not a view of the three-node development chain the explorer is showing. Two surfaces on one machine can be looking at two chains, and the only reliable way to tell is the genesis hash on each. - It was started with
--dashboard-keyand no--roles, sorosterSizeis 0 and every action is refused.MEASURED, posting the cheapest read on its own permitted list:
audit.read — denied
REFUSED — authentication. The request was not proved to come from this principal.
principal zk13str_3cbfc735… is not authenticated for 'audit:read': this address holds no role on this node
audit entry #5 denied audit:read by zk13str_3cbfc735… ACTOR NOT VERIFIEDThat is the surface working correctly, not failing: a key proves which address is asking, and the roles file is what grants that address anything. GUNGNIR.md §1.2 and §3.2.
9. Things that do not work, at the step where you meet them#
Four, all reproduced on the run this page documents. None is papered over anywhere else in these docs either.
9.1 --dir against a stopped Polaris node needs the passphrase#
If you stop the network and try to open a node's directory with the explorer:
npm run testnet:down
node dist/src/cli/strblk.js explorer --dir .sourceless/polaris/node1 --port 8115KeystoreError: the identity keystore at .sourceless\polaris\node1\identity.json is encrypted and
SOURCELESS_KEY_PASSPHRASE is not set. Set it to the passphrase this keystore was sealed with and
start again. Nothing was changed on disk.MEASURED. This is correct behaviour reported clearly, and it is still a step you will not get
past without knowing something the message does not tell you. Polaris seals node N's keystore
with polaris-node-N-passphrase-long-enough unless SOURCELESS_KEY_PASSPHRASE was set when the
network started. So:
SOURCELESS_KEY_PASSPHRASE="polaris-node-1-passphrase-long-enough" \
node dist/src/cli/strblk.js explorer --dir .sourceless/polaris/node1 --port 8115 mode DATA DIRECTORY — a node's own store, every panel served from the blocks it sealed
why nothing holds this directory, so XPlorer took the Cerberus lease and opened it here
directory .sourceless/polaris/node1
height 8
head 571609dca198ce26dfa708a2bd95c81d7ad71a7c99f1154951317e6edb8138e0MEASURED. Set SOURCELESS_KEY_PASSPHRASE before testnet:up and this stops being a puzzle.
9.2 Polaris nodes died on a console control event — FIXED#
MEASURED before, from the supervisor log of the long-running network in the main working copy:
[polaris] node1 exited unexpectedly (code 3221225786, signal null)
[polaris] node2 exited unexpectedly (code 3221225786, signal null)
[polaris] node3 exited unexpectedly (code 3221225786, signal null)3221225786 is 0xC000013A, STATUS_CONTROL_C_EXIT. All three nodes were killed by a console
control event, not by the supervisor and not by a crash.
The mechanism, reproduced. On Windows a console control event reaches every process attached
to that console, and a child spawned the ordinary way inherits its parent's console.
GetConsoleProcessList for a polaris up --foreground network showed the supervisor and all
three agents on one console, and one Ctrl+Break aimed at an unrelated sibling on it left all four
dead. Two real agents under one surviving parent, spawned identically apart from the flag, settle
which flag matters: the detached: false agent exited 3221225786 and the detached: true
agent kept running, with the parent holding both stdin pipes open throughout.
The fix. Polaris spawns every agent detached — DETACHED_PROCESS on Windows, so attached
to no console at all, setsid on POSIX. MEASURED after, on a live network: AttachConsole
against each node pid fails with ERROR_INVALID_HANDLE, and a Ctrl+Break that kills a sibling on
the launching console leaves the supervisor and all three nodes alive at the same height.
The stdin pipe is still the lifeline and is deliberately unchanged: if the supervisor dies, every agent still reads EOF and stops itself — snapshot, close sockets, exit 0. What changed is that a keystroke aimed at something else can no longer kill an agent where it stands.
9.3 up refused to restart a network whose nodes were dead — FIXED#
Followed directly from 9.2. MEASURED before, reproduced by killing the three node pids and
leaving the supervisor alive:
npm run testnet:up; echo "exit code = $?"A Polaris network is already running (supervisor pid 24484).
Run `npm run testnet:status` to read it, or `npm run testnet:down` to stop it.
exit code = 1up checked state === 'running' and whether the supervisor pid was alive. It did not ask
whether any node was — although status, in the same file, asked exactly that of every node. So
the one state you were most likely to be in after 9.2 was the one state up would not fix, and
you had to know to run down on a network that was already down.
The fix. Both commands ask one question of the nodes themselves. MEASURED after, on the
identical stale state:
supervisor pid 24484 is alive and its network is not:
node1 unreachable — connect ECONNREFUSED 127.0.0.1:55523
node2 unreachable — connect ECONNREFUSED 127.0.0.1:55528
node3 unreachable — connect ECONNREFUSED 127.0.0.1:52286
0/3 nodes answered. Stopping what is left, then starting again.
stopping the Polaris network (supervisor pid 24484)
stopped cleanly; every node took its own shutdown path
starting 3 node(s) in development mode; supervisor pid 41172
exit code = 0The chain came back at the same height, the same head and the same state root, and the node ids
are the ones it had before. A network that IS running is still refused, and up now says why it
believes that: 3/3 nodes answered on their control sockets just now.
9.4 A node reports unknown about its own accepted write#
MEASURED. Submit a transfer through Gungnir and immediately ask that same node where it got
to:
tx.status — allowed
unknown to this node — that is not a statement that it failed
Not lost. STR.DD050BC8A983 accepted this 0s ago and is still carrying it (syncing, 1
announcement(s)). It is in this node's sync queue and not in the mempool, which is the one place
JsonRpcSurface.transaction() looks besides sealed blocks — so the RPC reports `unknown` about a
write this node certainly has.REASONED, from the two code paths: JsonRpcSurface.transaction() answers from the last N
sealed blocks and from BlockchainCore.mempool. On an announcing node a submitted transfer goes
into the sync engine and into neither, so the RPC's answer for the whole announcement window is
unknown — which is documented to mean "says nothing about whether it happened" and is not what
you need to read about your own node's own write.
Gungnir cross-checks it and shows both answers, so on this surface you see the truth. Anything reading the RPC directly does not. A few seconds later the same query is definite:
tx.status — allowed
in block 9 with 1 of 12 confirmations — in a block, not yet settled at depth 12MEASURED before 2026-11-28, when the words changed from settled, not yet final to the line above. Only a payment settled at depth 12 is money: the API reports that state as the phase value final.
10. Stopping#
npm run testnet:downstopping the Polaris network (supervisor pid 55908)
stopped cleanly; every node took its own shutdown path
the chain is still in <repo>\.sourceless\polaris — `npm run testnet:up` brings it backMEASURED. down stops the nodes and deletes the manifest — status afterwards says
no manifest at … — nothing is up, which is accurate: there is nothing running to ask. The chain
is still on disk. npm run testnet:up -- --fresh is the one that removes it (REASONED: the --fresh branch removes the data root before starting; it was not run here, because running it would have destroyed the chain this page measured).
Ctrl-C stops the explorer and the dashboard node. Neither holds anything the other needs.
A world started by §2.1 is a different set of processes and testnet:down does not touch it:
npm run world:stopThat stops the nodes, the explorer, the wallet and the harness itself. Stopping the
executables alone leaves the harness running against dead ports, logging fetch failed for every
scenario of every cycle into the same file the next run then writes to — two runs interleaved in
one log, where the first minutes of a clean run read as a total network failure. It needs no
executable to be present, so it still works after a rebuild.
Where to go next#
| You want to | Read |
|---|---|
| Understand the network you just started | POLARIS.md |
| Operate a node, and know what you may not do | GUNGNIR.md |
| Know which chain an explorer page is showing | XPLORER.md |
| See the whole system at once — modules, tests, harnesses, gates | SYSTEM_MAP.md |
Know what a failed strblk command is telling you | CLI.md |
| Fix something that is broken right now | PROCEDURES.md §1 |
| Run the check harness rather than a standing network | TESTNET.md |
| Put the whole system under sustained load and find what breaks | §2.1 above, then .world/report.json |
| Understand the chain itself | ARCHITECTURE.md, then docs/book/ |