
Loading...

Loading...
lightnode-sdk
workerWatch streams state-change events (registered, went-stale, jobs-completed) for any worker, no key required.
Preflight runs against the live network with YOUR private key, so it can't fire from the browser. Sample output:
{
"verdict": "ok",
"elapsedSec": 9.4,
"worker": "0xabc...",
"summary": "OK in 9.4s. Worker 0xabc... replied with 14 chars.",
"txs": {
"createSession": "0x...",
"submitJob": "0x...",
"jobCompleted": "0x..."
}
}PRIVATE_KEY=0x... npx lightnode worker preflight --net testnetMore from lightnode-sdk