26 Commits

Author SHA1 Message Date
Dmitrii
ac2d711505 add nft from custom urls to tokens.json, update ADD NEW TOKEN documentation (#115) 2022-07-15 19:41:09 +02:00
Cezary Haliniarz
a8495e5a47 chore: apply prettier to all files (#116) 2022-07-07 15:33:05 +02:00
Cezary Haliniarz
b62dafef7f feat: add coinbase to ccxt fetcher (#96)
* feat: add coinbase to ccxt fetcher

* Remove plain coin from ccxt

* Remove coinbase fetcher remainings

* Repopulate main manifest
2022-06-23 01:56:04 +02:00
Cezary Haliniarz
abba13e464 fix: data issues after check 01.06.2022 (#94) 2022-06-14 15:32:19 +02:00
Cezary Haliniarz
09700b1ac4 feat: add GLMR token price (#82) 2022-06-01 12:51:10 +02:00
hatskier
4d0e6ff502 chore: Stox -> Stacks 2022-05-31 14:51:47 +02:00
Alex Suvorov
767ae7c662 feat: connecting to bundlr network (#40)
* bundlr integration code added

* added bundlr and arweave scripts

* bundlr integrated, arweave signing and tx posting removed

* few fixes after tests

* tests fixed

* 0.4.25

* added a new script: prepare-light-tokens-config-for-redstone-api.js

* fix: one failed broadcaster should not block another broadcaster

* removed unused import

* changed default source timeout to 15s

* changed default source timeout to 20s

* improved broadcasting for several http cache layers

* removed signature and replaced signer address with signer public key

* removed unused code

* redstone gateway connected, dockerfiles updated

* added price estimation script for bundlr

* feat: twaps (#50)

* config generation improved

* error logging improved and added sample twaps manifest

* draft twap implementation added

* added mechanism to disable arweave backup

* twap calculation logic implemented

* updated TwapFetcher structure to support signature verification

* few fixes in twap fetcher

* added CELO and AVAX tokens to rapid manifest

* twap fetcher implementation completed

* added a script to print all available fetchers

* added tests for twap fetcher

* Edge cases

* minor updates

* edge cases fixes

Co-authored-by: c-gma <sigma@deltaprime.io>

* feat: twaps (#66)

* config generation improved

* error logging improved and added sample twaps manifest

* draft twap implementation added

* added mechanism to disable arweave backup

* twap calculation logic implemented

* updated TwapFetcher structure to support signature verification

* few fixes in twap fetcher

* added CELO and AVAX tokens to rapid manifest

* twap fetcher implementation completed

* added a script to print all available fetchers

* added tests for twap fetcher

* Edge cases

* minor updates

* edge cases fixes

* feat: symbol to id mapping (#52)

* added symbol to id mapping in base fetcher implementation

* added more symbols and sources

* added required files for manifest generation

* updated symbols config

* removed unused ARS symbol

* 0.4.26

* fixed yf-unofficial tests

* 0.4.27

* added private dockerfiles to gitignore

Co-authored-by: c-gma <sigma@deltaprime.io>

Co-authored-by: c-gma <sigma@deltaprime.io>
2022-04-28 00:10:49 +02:00
Cezary Haliniarz
a27f193f09 chore: updates after testing local node (#60) 2022-04-22 02:34:11 +02:00
hatskier
459cefcd3d added SOS cryptocurrency support 2022-01-12 17:33:55 +01:00
Alex Suvorov
079e418a75 Hatskier/latin american currencies update (#35)
* updated manifests with the new reverted latin american currencies

* tokens config updated
2021-11-16 00:52:15 +01:00
Alex Suvorov
fd2f119787 Added some Latin American currencies (#33)
* Added some Latin American currencies (#31)

* api-dojo-rapid fetcher updated

* manifests updated

* minor improvement in the api-dojo-rapid-fetcher

Co-authored-by: DCota <32775237+DaigaroCota@users.noreply.github.com>
2021-11-09 16:36:00 +01:00
Alex Suvorov
c5529142f6 Hatskier/running avalanche node (#32)
* initial implementation of multi-broadcasting support

* public Dockerfile added, passing config through environment variables initial implementation

* generated manifest for redstone-avalanche provider, improved tools for manifest generation

* added docker:build command to package.json

* docker script updated

* avalanche manifest updated

* VRT token address updated

* coingecko token config updated

* added qi and yak tokens to config

* ccxt updated, implemented more fetchers for yak, qi and frax tokens

* tokens config updated (added redstone-avalanche provider)
2021-11-09 01:04:14 +01:00
hatskier
e2835518d6 node documentation extended 2021-09-26 18:15:40 +02:00
Alex Suvorov
2f5fa27a4d Hatskier/adding lite evm signature (#17)
* evm lite signer implemented

* lite signature generation connected to single prices and price packages

* tests implemented for lite evm signature

* manually added logos for verto tokens to predefined config

* tokens config updated

* getLiteDataBytesString and getDataToSign made public in EvmPriceSigner

* 0.4.5

* 0.4.6

* 0.4.7

* redstone-node version updated

* 0.4.10

* 0.4.11

* tsconfig updated to copy manifests to dist folder

* 0.4.12

* verto tag renamed to pst

* 0.4.13

* 0.4.14

* Hatskier/adding pangoling fetcher (#18)

* pangolin fetcher implementation

* tests implemented

* PST and pangolin token fixes

* pangolin added to sources config

* tokens config update intstructions added to README

* AVAX tokens added to config

* 0.4.15

* added avax tag to some avalanche tokens

* 0.4.16

* bad ccxt sources removed

* evm address added to providers.json

* 0.4.17

* unstable tokens removed

* pangolin manifests for different base tokens added

* main manifest cleaned up, added pangolin fetchers

* pangolin-aablock fetcher fixed

* tests fixed

* renamed all-supported-tokens.json to main.json

* implemented a tool for redstone-rapid manifest creation

* trader-joe fetcher implemented

* manifests updated for tokens from avalanche ecosystem

* sources config updated

* JOE and WAVAX tokens added to config

* tests added for DEXes

* 0.4.18

* added providers to some avalanche tokens

* 0.4.19

* ccxt version updated

* fixes after ppe's review
2021-09-06 09:32:36 +02:00
hatskier
c565784cba bugfix for new coingecko tokens 2021-08-14 18:35:39 +02:00
Alex Suvorov
8d79951a35 Hatskier/config generation scripts (#16)
* script for config generation created

* implemented scripts for token list generation for new fetchers

* unused files removed

* script structure created for token config generation script

* script for token config generation created

* updated config scripts to use source logos from redstone cdn

* created scripts for cdn images, updated tokens config

* added more logo images for tokens

* token logos published to redstone cdn

* donwload-symbol-logos script improved

* added 100+ new tokens from coingecko source

* manifest for redstone-rapid updated
2021-08-11 14:33:13 +02:00
Alex Suvorov
726ebe104e Hatskier/config generation scripts (#15)
* script for config generation created

* implemented scripts for token list generation for new fetchers

* unused files removed

* script structure created for token config generation script

* script for token config generation created
2021-08-09 19:45:42 +02:00
Alex Suvorov
ae78874756 Hatskier/ccxt fetchers (#14)
* 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
2021-08-04 19:56:28 +02:00
Alex Suvorov
5aff5c93f3 Hatskier/api-dojo-rapid fetcher implementation (#12)
* fetchers refactoring started, yahoo-finance-rapid fetcher implemented

* fix in tests

* yahoo-finance fetcher renamed to api-dojo-rapid (#13)
2021-07-20 13:45:38 +02:00
piotruda
51f0aed63e Frontend tokens config (#9)
* Sources list with images

* Moved lists to src/config

* Running scripts from root

Co-authored-by: Piotr Duda <piotrduda1992@gmail.com>
2021-07-16 14:05:08 +02:00
piotruda
f2640901d7 Frontend tokens config (#8)
* Token list generator

* Token list generator - automation

* Token list generator - code cleanup

* Review corrections

Co-authored-by: Piotr Duda <piotrduda1992@gmail.com>
2021-07-14 19:30:22 +02:00
Alex Suvorov
a7ba194a2f Evm signature support (#4)
* EvmPriceSigner implemented

* simple tests implemented for EvmPriceSigner

* added comments for further test cases

* tests improved for EcmPriceSigner

* tests fixed

* evm signature implementation

* tests fixes and improvements

* fixes after Kuba's review

* switched back to arweave.net
2021-06-15 15:35:46 +02:00
Alex Suvorov
d5476082ac Warnings and errors fix, performance tracking fixed (#3)
* temporary fixes for trackEnd problems debugging

* promise timeout fixes

* performance tracking refactoring

* balancer fetcher removed, log levels updated

* fixes after review
2021-06-10 14:56:29 +02:00
ppedziwiatr
12ee7098e8 redstone migration fixes 2021-06-01 16:52:25 +02:00
ppedziwiatr
5139d0b986 'sample-manifests' renamed to 'manifests' 2021-05-31 15:47:06 +02:00
ppedziwiatr
17883f7815 code migration 2021-05-31 14:03:28 +02:00