ynab-portfolio-monitor/providers/bitcoin
Steven Polley 6ed332d8b6
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
fix nil pointer dereference if http error when getting btc address
2024-09-23 08:59:42 -06:00
..
address.go Do not export when not required 2024-03-23 14:06:38 -06:00
client.go fix fiat conversion - requires cg api key 2024-09-09 17:43:14 -06:00
fiat.go switch to free api 2024-09-09 17:47:17 -06:00
providerImpl.go fix nil pointer dereference if http error when getting btc address 2024-09-23 08:59:42 -06:00
README.md fix fiat conversion - requires cg api key 2024-09-09 17:43:14 -06:00

Bitcoin Provider

A provider for bitcoin, backed by blockstream.info to query address balance and coinconvert.net for fiat conversion.

Environment Variables

  • bitcoin_address_[0...] - A series of bitcoin addresses with a suffix of _0 and each additional address counting up.
  • bitcoin_ynab_account - The YNAB account ID used to keep track of Bitcoin balance
  • bitcoin_coingecko_api_key - Required for fiat conversion, your addresses nor balances are not transmitted. Docs: https://docs.coingecko.com/reference/setting-up-your-api-key