You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wires the aarch64-darwin (and x86_64) L2-S9-Thunder prebuilt into the
existing bitcoind+electrs+enforcer stack:
setup.sh: downloads L2-S9-Thunder-latest-*.zip alongside the other
three; extracts thunder + thunder-cli into .regtest/bin/.
start.sh: waits for the enforcer's gRPC (50051) to actually be
listening before launching Thunder (18444 GBT comes up
first — Thunder needs 50051 to verify the mainchain
ValidatorService at boot). Launches Thunder with
--mainchain-grpc-url http://127.0.0.1:50051 and
--rpc-addr 127.0.0.1:6009 — the same port
payout/lib/thunder.js defaults to.
stop.sh/status.sh: aware of the extra process.
thunder-init.sh: NEW. Idempotently generates a Thunder wallet
mnemonic, sets the seed, prints a wallet address + the
`s9_<base58>_<hex6>` deposit-format wrapper the mainchain
wallet needs to target Thunder-owned funds.
End-to-end verified on aarch64-darwin:
- Stack of four processes comes up clean
- Thunder connects to the enforcer, both ValidatorService and
WalletService verify
- Thunder RPC on :6009 responds to `balance` with
{"total_sats":0,"available_sats":0}
- After thunder-init, a canonical
CreateDepositTransaction to the Thunder-owned deposit address
updates the enforcer's Ctip (Ctip value went from 100_000_000
to 150_000_000 sats across two 50M-sat deposits)
- The TwoWayPeg event stream on the enforcer shows both deposits
with their exact OP_RETURN payload bytes
Not verified end-to-end: Thunder producing a sidechain block to
credit the wallet balance. Thunder's `mine` RPC blocks pending BMM
coordination with the mainchain — that's a Thunder-side concern
outside the scope of the pool. The enforcer-side Ctip update is the
authoritative consensus signal that the deposit was accepted; from
the pool's perspective, once the deposit is in the Ctip, Thunder's
own state transition is a follow-up.
VERIFY.md section 10 is expanded with the thunder-init flow and a
concrete canonical-deposit check anyone can reproduce.
0 commit comments