Skip to content

xelis-project/xelis-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XELIS Stats

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.

https://stats.xelis.io

A website using Xelis Index to provide accessible statistics of the Xelis network.

Testnet: https://testnet-stats.xelis.io

Development

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

Production

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published