Bitcoin Forum
May 04, 2024, 08:54:27 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   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 81 times)
cygan (OP)
Legendary
*
Offline Offline

Activity: 3150
Merit: 7740


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/


.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
1714812867
Hero Member
*
Offline Offline

Posts: 1714812867

View Profile Personal Message (Offline)

Ignore
1714812867
Reply with quote  #2

1714812867
Report to moderator
1714812867
Hero Member
*
Offline Offline

Posts: 1714812867

View Profile Personal Message (Offline)

Ignore
1714812867
Reply with quote  #2

1714812867
Report to moderator
1714812867
Hero Member
*
Offline Offline

Posts: 1714812867

View Profile Personal Message (Offline)

Ignore
1714812867
Reply with quote  #2

1714812867
Report to moderator
BitcoinCleanup.com: Learn why Bitcoin isn't bad for the environment
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
NotATether
Legendary
*
Offline Offline

Activity: 1596
Merit: 6727


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
Member
**
Offline Offline

Activity: 392
Merit: 97

assumevalid=0 and mempoolfullrbf=1


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.

You can use Bitcoin privately without giving up custody: https://mempool.space/tx/d465033214fd2309dcce5a90c45fcaa788aa4394ee36debe07aad8d8a37907d2
^ Participate in coinjoin transactions like this with Wasabi Wallet ^
Nostr: npub1pww7030g95nv9ptfpgfu69jpfxj6pm33xxueztsupwekce45wx4sm6en60
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!