Real-time Blockchain Explorer for XELIS using JavaScript and WebSocket.
- Real-time statistics with WebSockets.
- Navigate all blocks of the entire blockchain (if node isn't pruned).
- Block page.
- Transaction page.
- Accounts list page.
- Account history page.
- Live mempool.
- BlockDAG viewer.
Testnet: https://testnet-explorer.xelis.io
Open two terminal and run package scripts.
npm run build
and npm start
(defaults to wrangler, check other ways below)
This will start a http server, watch and build files automatically.
For environment variables, it will create a env.json
file and default to XELIS daemon on localhost. Modify it to point to your specific endpoints.
Using cloudflare wrangler:
npm run build-dev:cf
and npm run start-cf:node
Using node server:
npm run build-dev:node
and npm run start-dev:node
Using index (no ssr, no server, use browser to load html):
npm run build-dev:index
Pushing branch dev-pages
, testnet-pages
or mainnet-pages
will automatically build and deploy to cloudflare.
Build for your own node server:
npm run build-prod:node
and run node ./dist/node_server/node_server.js
.
Build the single page app (no ssr and no server):
npm run build-prod:index
and check the ./dist/index
folder to open index.html
with the browser.