Bitcoin Forum
June 07, 2024, 05:57:41 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Learning how to explore the bitcoin blockchain  (Read 124 times)
tv9991 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
June 06, 2021, 07:53:21 PM
 #1


Would you be able to offer me any guidance on how to learn Blockchain Explorers at the code level?   I would love to download some code I can run and change.
odolvlobo
Legendary
*
Offline Offline

Activity: 4340
Merit: 3258



View Profile
June 07, 2021, 03:15:58 AM
 #2

I would love to download some code I can run and change.

check out https://github.com/janoside/btc-rpc-explorer

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
NotATether
Legendary
*
Offline Offline

Activity: 1624
Merit: 6880


bitcoincleanup.com / bitmixlist.org


View Profile WWW
June 08, 2021, 04:19:59 PM
 #3

Block explorers have two parts: The visualization front-end using a web framework and routes, such as React or Angular, and the data mining part that queries full nodes and computes statistics. I'm sure you want to modify the metrics the block explorer displays, so you'll want to focus on this section of the repo: https://github.com/janoside/btc-rpc-explorer/tree/master/views

The views/ folder also contains the HTML text elements that are printed along with each metric, in case you want to modify those too.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
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!