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
Branch
herald-refactor-stack
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23118
Build 45856: Build Diffecash-herald-tests
Build 45855: arc lint + arc unit

Event Timeline

Modifying getCoingeckoPrices script to support improvement

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