Bitcoin Forum
June 14, 2024, 10:22:58 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: utxo.live get the daily BTC/USD price using only your full node  (Read 82 times)
cygan (OP)
Legendary
*
Offline Offline

Activity: 3192
Merit: 8165


Crypto Swap Exchange


View Profile WWW
September 21, 2023, 04:24:50 PM
 #1

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/


█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
CASINO
.
SPORTS
.
RACING
EVENT DETAILS
EURO 2024
NotATether
Legendary
*
Offline Offline

Activity: 1638
Merit: 6897


bitcoincleanup.com / bitmixlist.org


View Profile WWW
September 21, 2023, 04:28:59 PM
 #2

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.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Kruw
Full Member
***
Offline Offline

Activity: 434
Merit: 106


Make your Bitcoins anonymous - wasabiwallet.io


View Profile WWW
September 22, 2023, 05:10:49 PM
 #3

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.

Coordinating coinjoins for Wasabi Wallet and BTCPay Server - Connect using
Code:
https://btcpay.kruw.io/plugins/wabisabi-coordinator/
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!