TOKN / field guide

TOKN Explorer

public/explorer/ is a small static explorer with an English interface, published at /explorer/. The browser calls only same-origin /rpc and reads /manifest.json; there are no external CDNs, analytics, or price APIs. All wei and native TOKN values are formatted with JavaScript BigInt, so values do not pass through imprecise Number conversion.

The explorer verifies chainId and the genesis hash; displays the latest ten blocks using one RPC batch of ten requests; shows block and transaction details, receipt/status/gas, address balance/nonce/bytecode; searches by block number, block or transaction hash, and address; displays raw JSON; and supports manual or 20-second home-page refresh. WorkVault is read from manifest.json.

The interface is a separate adaptation of the direct JSON-RPC approach used by Alethio Ethereum Lite Explorer, MIT, pinned to commit `ef17e1ae484d1fd3839749e937b385b85996bb75`. It is not a fork and does not claim full compatibility with Alethio or Esplr; TOKN's explorer code is written separately for the limited standard Besu RPC.

Address history, a token-transfer index, and internal transactions are intentionally not simulated. They require an indexer or trace/OTS API, neither of which is in the public gateway allowlist. The gateway serves these files through an explicit list, permits browser access only to the same origin via CSP, and exposes no administrative RPC methods.

The public path is /explorer/ on the onion address from manifest.json. No additional indexer or background server runs; the interface is served by the existing Python gateway. New archives are stored at /releases/vVERSION/; the original v1.0.0 release remains available at /release.tar.gz.