Skip to content

Repository files navigation

XFER Explorer

A block explorer for X Coin (XFER) (Light or Heavy). Use the latest release.

It runs on your machine. Search a height, transaction, X… address, asset name, or @handle. Open an asset for holders and its file. See who won each minute’s lottery.

This is not a wallet. It cannot spend coins. It only reads a node you already run.

New here? Double-click SETUP.bat (Windows) or run setup.sh (Linux). Details: [START HERE.txt](START HERE.txt) · docs/SETUP.md. Stuck? docs/TROUBLESHOOTING.md.

Light and Heavy are the same chain. Setup downloads the newest official zip from Releases.


One-click start

Windows Double-click SETUP.bat (uses an installed wallet, or downloads the latest)
Linux x86_64 chmod +x setup.sh start.sh && ./setup.sh

The setup script installs Python if needed, uses X Coin Wallet if it is already installed, otherwise downloads the newest official zip by version tag from NiftyRaven/x-coin Releases (not GitHub’s “latest” flag — that can stay on an older Light zip), adds server=1 (no passwords), starts the wallet, and opens http://127.0.0.1:8080.

Templates (no secrets in this repo):

Copy examples locally. Never commit explorer.toml.


What you can browse

Page Contents
Home Height, supply, latest blocks, live lottery
Blocks Every height; coinbase lottery payouts from height 1
Transaction Inputs, outputs, assets; coinbase identity is XVA1 @handle (not XID1)
Address XFER balance, assets, lottery wins
Assets Roots, NAME/CHILD subs, NAME#tag uniques; holders and files
Lottery Live draw, active @handles, history, leaderboard, guest shares
Members Browse every eligible @handle, or search any handle
Stats Emission, hat size, and win share
Holders Richest XFER addresses
Mempool / Network Unconfirmed txs and peers

Height 0 is genesis (12 Sep 2026, 3:16 AM America/New_York). It pays nothing. Lottery winners start at height 1.


How it talks to the chain

[ X Coin Wallet.exe  or  xcoind ]  --RPC 127.0.0.1:38442-->  [ this explorer ]  -->  browser :8080

The indexer and live UI poll about once per block (~60s, BLOCK_TIME_SECONDS / poll_seconds in explorer.toml). Catch-up does not sleep. The browser checks /api/tip on that cadence and re-renders only when the tip hash or height changes. The one-second lottery countdown is a clock only — it does not refetch.

Use either the GUI wallet or xcoind, not both. They share one data directory.

Default login is the wallet cookie (%APPDATA%\XCoin\.cookie). If that fails, set matching rpcuser / rpcpassword in the wallet config the wallet start actually reads and in a local explorer.toml (see SETUP). Never put those values in git.


Requirements

  • Python 3.11+
  • Latest X Coin release, Light or Heavy, with server=1
  • Ports: node RPC 38442, explorer 8080 (localhost)
python -m pytest

Security

  • RPC stays on 127.0.0.1. Do not expose 38442 to the internet.
  • Do not put 12-word seeds, OAuth tokens, RPC passwords, or .pem keys in git.
  • explorer.toml and data/ are gitignored on purpose.

License

MIT. X Coin itself is a separate project: NiftyRaven/x-coin.

About

Local blockchain, asset, and lottery explorer for X Coin (XFER)

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages