Statistics platform for XELIS blockchain.
- Price history from multiple markets.
- Complete indexed blockchain (blocks, txs and accounts).
- Multiple aggregate functions with time intervals.
- Display data using classic table or visualize it with charts.
- Configurable parameters for in-depth data representation.
A website using Xelis Index to provide accessible statistics of the Xelis network.
Testnet: https://testnet-stats.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 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.