Author

Topic: utxo.live get the daily BTC/USD price using only your full node (Read 102 times)

member
Activity: 378
Merit: 93
Enable v2transport=1 and mempoolfullrbf=1
It's a cool project, but it doesn't have the precision necessary to be relied on for actual contracts, especially if one were to reverse engineer it to spoof a particular price.  Regardless, I'm surprised USD dominates that much.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
As it mentions, it is not perfect and it can only be used to fine prices starting at mid-2020. In other words, it is useless for other date ranges because it was calibrated to the 2020 cycle.

To be honest, I was not expecting it to be perfect anyway, as only exchanges truly gave the current and historical bitcoin prices on demand, as a trading platform.
legendary
Activity: 3304
Merit: 8633
icarus-cards.eu
i came across a website today called UTXO.live with its pythop program UTXOracle.py
through this website it is possible to get the price of bitcoin without exchanges or third parties.
every user who runs this gets the same price independently. its open source, 100% on-chain data, no external libraries, no cookies and works offline.
to run this tool you have to make sure that on your node:

  • python3 and bitcoin-cli is installed
  • that "server = 1" is in bitcoin.conf

if the two points are given the whole must then be executed as 'python3 UTXOracle.py'
i personally haven't tried it yet, but i'll definitely do it in a free minute...

Quote
# This python program estimates the daily USD price of bitcoin using only
# your bitcoin Core full node. It will work even while you are disconnected
# from the internet because it only reads blocks from your machine. It does not
# save files, write cookies, or access any wallet information. It only reads
# blocks, analyzes output patterns, and estimates a daily average a USD
# price of bitcoin. The call to your node is the standard "bitcoin-cli". The
# date and price ranges expected to work for this version are from 2020-7-26
# and from $10,000 to $100,000
https://utxo.live/oracle/UTXOracle.py
https://utxo.live/

Jump to: