# install mongodb
cp .env.example .env
# set env vars
npm install
npm run build
# reseed volume data
npm run console import:volume <eventName>
npm run console import:volume kswap.exchange.SWAP
npm run console import:volume kaddex.exchange.SWAP
# update volume data
npm run console update:volume <eventName> <saveUncompleted>
npm run console update:volume kswap.exchange.SWAP 0
npm run console update:volume kaddex.exchange.SWAP 0
# seed daily volume data
npm run console import:volume-daily <eventName> <saveUncompleted>
npm run console import:volume-daily kswap.exchange.SWAP 0
npm run console import:volume-daily kaddex.exchange.SWAP 1
# seed tvl data
npm run console import:tvl kswap.exchange.UPDATE
# seed candles data
npm run console import:candles
# seed external candles data
npm run console:dev import:external-candles KDA USDT 2021-06-01 2022-06-24
# seed analytics data
npm run console import:analytics-circulating-supply
npm run console import:analytics-burned
npm run console import:analytics-liquidity-mining
npm run console import:analytics-dao-treasury
npm run console import:analytics-all
# seed liquidity-pools data
npm run console import:all-liquidity-pools
npm run console import:liquidity-pools <pairCode>
-
Notifications
You must be signed in to change notification settings - Fork 0
RunOnFlux/ecko-stats-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Backend service for Ecko DEX analytics, processing Chainweb swap data to provide TVL, volume, and price metrics. Generates OHLC candlesticks and stores analytics data used by dex
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published