Page MenuHomePhabricator

[herald] Improve getCoingeckoPrices to return tickers and ecash price first
ClosedPublic

Authored by bytesofman on Apr 8 2023, 17:17.

Details

Summary

T2972

Depends on D13640

Improve getCoingeckoPrices function to return ticker info of cryptos (required in tg msg). Make sure ecash price is returned first (helpful for making tg msgs). Add unit test.

Test Plan

Review changes to config and getCoingeckoPrices
npm test
npm run getCoingeckoPrices

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Modifying getCoingeckoPrices script to support improvement

This revision is now accepted and ready to land.Apr 9 2023, 09:16