lightninglabs / lightninglabs/faraday
fiat: Expand fiat backends
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 130
- Forks
- 35
- Avg merge
- 7h 54m
- Merged PRs (30d)
- 5
Description
As is, the fiat package only uses CoinCap's API for price information. The package is designed to allow different price sources without affecting our price calculation logic.
Steps to completion
- Identify different sources of price data and propose in this issue (perhaps coindesk)
- Add code to obtain price data over a range and update
fiat/GetPricesto allow users to choose a backend - Update rpc to allow choice of backends
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the fiat/GetPrices entry point and the existing CoinCap price-data path, then inspect the rpc surface that exposes fiat data. Compare suitable price sources, define how a backend is selected and queried over a range, and update both fiat and rpc so users can choose it; done means an alternate backend works without changing price calculation logic.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100