mirror of
https://github.com/alexgo-io/redstone-node.git
synced 2026-06-11 07:24:11 +08:00
* ccxt fetcher implementation * ccxt fetchers connected * tests fixed * verto refactoring, ccxt fetchers manifests updated * ccxt tests implemented * old fetchers refactoring started * USDT fetching mocked in tests * coingecko and coinbase fetchers refactoring * ecb fetcher refactoring * kyber fetchers refactoring * uniswap and sushiswap fetchers refactoring * yf-unofficial fetcher refactoring * manifests updated for ccxt fetchers * increased timeout for ccxt fetchers * ccxt manifest generation script improved. Now it compares prices from ccxt fetchers with existing redstone-api prices * manifests updated * BTMX token removed from coingecko source * ccxt manifests updated * tmp log file removed * enableRateLimit set to false for ccxt fetchers * increased maxPriceDeviation for unpopular tokens * implemented script for sources-list generation * fixes after review: fetcher files renaming * fixes after review: replaced string type with ExchangeId for ccxt fetchers * fixes after review: replaced lodash methods with built-in functions * fixes after review: classes refactored * fixes after review: const renamed MAX_RESPONSE_TIME_TO_RETRY_FETCHING_MS * ccxt manifest generation script updated to support option of avoiding new tokens adding * fixes after review: refactored fetching additional pricing data for USDT and ETH inside extractPrices method * unstable sources removed * aggregation mechanism improved, tests added * added providers.json to redstone-node configs
77 lines
2.3 KiB
JSON
77 lines
2.3 KiB
JSON
{
|
|
"name": "redstone-node",
|
|
"version": "0.4.4",
|
|
"description": "A data provider module that fetches price information and serves it to end users.",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"scripts": {
|
|
"build": "rm -rf dist && tsc",
|
|
"start:prod": "node dist/index.js",
|
|
"start:prod:old": "ts-node index.ts",
|
|
"start:dev": "MODE=LOCAL ts-node index.ts",
|
|
"test": "NODE_ENV=test jest",
|
|
"test:watch": "NODE_ENV=test jest --watch",
|
|
"test:ci": "NODE_ENV=test jest --ci --reporters='default' --reporters='./tools/GithubActionsReporter'",
|
|
"prepublishOnly": "yarn test && yarn build",
|
|
"version": "git add -A src",
|
|
"postversion": "git push && git push --tags"
|
|
},
|
|
"license": "MIT",
|
|
"author": "Redstone Team <dev@redstone.finance>",
|
|
"contributors": [
|
|
"Jakub Wojciechowski <jakub@redstone.finance>",
|
|
"Alex Suvorov <alex@redstone.finance>",
|
|
"Peter Pedziwiatr <peter@redstone.finance>"
|
|
],
|
|
"dependencies": {
|
|
"arql-ops": "^1.0.0",
|
|
"arweave": "^1.10.15",
|
|
"arweave-multihost": "^0.1.0",
|
|
"axios": "^0.21.1",
|
|
"ccxt": "^1.53.35",
|
|
"coinbase": "^2.0.8",
|
|
"coingecko-api": "^1.0.10",
|
|
"consola": "^2.15.3",
|
|
"deep-sort-object": "^1.0.2",
|
|
"ecb-euro-exchange-rates": "^2.0.0",
|
|
"eth-sig-util": "^3.0.1",
|
|
"ethereumjs-util": "^7.0.10",
|
|
"ethers": "^5.3.0",
|
|
"isomorphic-fetch": "^3.0.0",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.1",
|
|
"promise-timeout": "^1.3.0",
|
|
"redstone-api": "^0.4.2",
|
|
"smartweave": "^0.4.34",
|
|
"sort-deep-object-arrays": "^1.1.2",
|
|
"uuid": "^8.3.2",
|
|
"yahoo-finance": "^0.3.7",
|
|
"yargs": "^16.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/coinbase": "^2.0.5",
|
|
"@types/consola": "^2.2.5",
|
|
"@types/exchange-rates-api": "^1.0.0",
|
|
"@types/isomorphic-fetch": "^0.0.35",
|
|
"@types/jest": "^26.0.23",
|
|
"@types/lodash": "^4.14.168",
|
|
"@types/node": "^14.14.31",
|
|
"@types/promise-timeout": "^1.3.0",
|
|
"@types/uuid": "^8.3.0",
|
|
"@types/yargs": "^16.0.0",
|
|
"ar-gql": "^0.0.6",
|
|
"dateformat": "^4.5.1",
|
|
"jest": "^27.0.4",
|
|
"jest-mock-extended": "^1.0.16",
|
|
"open": "^8.0.4",
|
|
"plotly": "^1.0.6",
|
|
"ts-jest": "^27.0.3",
|
|
"ts-node": "10.0.0",
|
|
"typed-binary-json": "^1.17.4",
|
|
"typescript": "^4.3.2"
|
|
},
|
|
"files": [
|
|
"dist/**/*"
|
|
]
|
|
}
|