Bitcoin Forum
May 05, 2024, 05:29:17 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What are the setup costs of developing your own bitcoin blockchain explorer  (Read 221 times)
Bitcoinstein (OP)
Jr. Member
*
Offline Offline

Activity: 46
Merit: 1


View Profile WWW
December 31, 2019, 10:46:17 AM
Merited by vapourminer (1)
 #1

So the only useful guide I've found is by hackernoon and it is talking about ethereum blockchain explorer setup.
I've been in Bitcoin for several years and now working on my own project. I am looking to develop a blockchain explorer from scratch rather than using existing API (for my personal experience).

What would it really takes in terms of hardware, code requirements and costs?

As far as I understand I first need to setup a Bitcoin node, making sure I have enough storage capacity to handle all historical blocks and transactions (am I right?)
But what am I doing from there? how do I turn it into an database and making my own API?

Does anyone have any guide for it?
1714930157
Hero Member
*
Offline Offline

Posts: 1714930157

View Profile Personal Message (Offline)

Ignore
1714930157
Reply with quote  #2

1714930157
Report to moderator
1714930157
Hero Member
*
Offline Offline

Posts: 1714930157

View Profile Personal Message (Offline)

Ignore
1714930157
Reply with quote  #2

1714930157
Report to moderator
If you see garbage posts (off-topic, trolling, spam, no point, etc.), use the "report to moderator" links. All reports are investigated, though you will rarely be contacted about your reports.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714930157
Hero Member
*
Offline Offline

Posts: 1714930157

View Profile Personal Message (Offline)

Ignore
1714930157
Reply with quote  #2

1714930157
Report to moderator
1714930157
Hero Member
*
Offline Offline

Posts: 1714930157

View Profile Personal Message (Offline)

Ignore
1714930157
Reply with quote  #2

1714930157
Report to moderator
1714930157
Hero Member
*
Offline Offline

Posts: 1714930157

View Profile Personal Message (Offline)

Ignore
1714930157
Reply with quote  #2

1714930157
Report to moderator
MixMAx123
Full Member
***
Offline Offline

Activity: 161
Merit: 168


View Profile
December 31, 2019, 10:58:24 AM
Merited by vapourminer (1)
 #2

I am also currently programming my own Blockchain Explorer. For the database I use the BLK files from BitcoinCore and an index file with pointers to the correct blocks in the correct order.

Hardware, you only need a PC with sufficient storage space on which the blockchain fits.
The best SSD for fast access times.
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7132



View Profile
December 31, 2019, 11:27:34 AM
 #3

Before developing a new explorer, will it have any features that we can't find in existing solutions? What does it offer to its users?
 
Check out this post by pooya87 from 2017, maybe you will find what you are looking for there.
https://bitcointalk.org/index.php?topic=1947647.msg19353488#msg19353488


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

Activity: 374
Merit: 53

Telegram @keychainX


View Profile WWW
January 01, 2020, 01:05:18 PM
Merited by Welsh (4), fillippone (2), ABCbits (1), nc50lc (1)
 #4

So the only useful guide I've found is by hackernoon and it is talking about ethereum blockchain explorer setup.
I've been in Bitcoin for several years and now working on my own project. I am looking to develop a blockchain explorer from scratch rather than using existing API (for my personal experience).

What would it really takes in terms of hardware, code requirements and costs?

As far as I understand I first need to setup a Bitcoin node, making sure I have enough storage capacity to handle all historical blocks and transactions (am I right?)
But what am I doing from there? how do I turn it into an database and making my own API?

Does anyone have any guide for it?

First, do you want it to run locally or access through internet?

To run an explorer like the blockchain.com API you need about 500GB of space, except of above code, you would need to make a database of all TXs so you can parse it quickly. Either code yourself in Python or hire a coder. You would probably land on 2000 USD to have a fast and secure explorer. A simple windows/unbuntu box is fine, your can run it on as little as a DELL R200 with 4GB of ram and an old Pentium CPU. Most critical is good bandwith for data transfer and fast SSD disk.

In terms on online server, amazon instances are pretty good (we run both an BTC and ETH explorer) which are accessed from anywhere in the world using RPC calls and runs 24/7. Cost is about 300 USD/month for the data transfer.

Good luck
/KX

tranthidung
Legendary
*
Offline Offline

Activity: 2268
Merit: 4009


Farewell o_e_l_e_o


View Profile WWW
January 02, 2020, 03:49:33 AM
 #5

One of very first things you have to consider in-depth before you start to build up you own bitcoin blockchain explorer is:

Which types of features your explorer will make it different and better (somewhat) than the current others on the market?

If you simply want to learn and practice how to set one explorer up, it is cool (it seems not your intention), but if you want to run a business with your own-built explorer, that is the same as the current others or worse, it is not a good start of your plans.

There are list of blockchain explorers, and I think you should spend sometime to experience them to see which things they do well, which things they can be improved (that you can apply to your explorer). There are ratings for each explorers (by that OP or by the others, but they are subjectively ratings, so you should take your own experience).

I am not a coder and programmer, but from the perspective of user, that is what I can give you: "Analyse the cost-benefit and probability to successfully jump in the service market."

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
R.I.U. iol
Newbie
*
Offline Offline

Activity: 15
Merit: 2


View Profile
January 02, 2020, 09:57:39 AM
Merited by vapourminer (1)
 #6

You need at least to run a full node.
You also need to index properties that the users might search (such as all addresses, transactions, block heights, which a full node does not do by default)
Accoring to blockchair (https://blockchair.com/dumps), it's entire database with indexes is 900 GB (compared to ~250 GB for the raw blockchain alone)
GreatArkansas
Legendary
*
Offline Offline

Activity: 2296
Merit: 1345


Buy/Sell crypto at BestChange


View Profile WWW
January 02, 2020, 10:20:38 AM
Merited by vapourminer (1)
 #7

(.....)
In terms on online server, amazon instances are pretty good (we run both an BTC and ETH explorer) which are accessed from anywhere in the world using RPC calls and runs 24/7. Cost is about 300 USD/month for the data transfer.
This is quite a huge amount of money since the OP said he/she wanted to gain personal experience of developing blockchain explorer.
Do you have any idea if, for example, I'll do it first locally, just for fun or experience just what like OP wants, Do I still need those 500GB of space
or minimum/DELL R200 with 4GB of ram and an old Pentium CPU just what you told?

@Bitcoinstein, probably this is one of the best personal experience to be added in your portfolio.
This is also one on my portfolio bucketlist, a blockchain explorer or any blockchain-related that code from the scratch. Well, good luck to you.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
R.I.U. iol
Newbie
*
Offline Offline

Activity: 15
Merit: 2


View Profile
January 02, 2020, 05:36:30 PM
 #8

This is quite a huge amount of money since the OP said he/she wanted to gain personal experience of developing blockchain explorer.
Do you have any idea if, for example, I'll do it first locally, just for fun or experience just what like OP wants, Do I still need those 500GB of space
or minimum/DELL R200 with 4GB of ram and an old Pentium CPU just what you told?

Yes, you will still need to store all those data locally
keychainX
Member
**
Offline Offline

Activity: 374
Merit: 53

Telegram @keychainX


View Profile WWW
January 03, 2020, 02:03:36 PM
 #9

(.....)
In terms on online server, amazon instances are pretty good (we run both an BTC and ETH explorer) which are accessed from anywhere in the world using RPC calls and runs 24/7. Cost is about 300 USD/month for the data transfer.
This is quite a huge amount of money since the OP said he/she wanted to gain personal experience of developing blockchain explorer.
Do you have any idea if, for example, I'll do it first locally, just for fun or experience just what like OP wants, Do I still need those 500GB of space
or minimum/DELL R200 with 4GB of ram and an old Pentium CPU just what you told?


The only difference to run it locally would be to skip the Amazon EC2 instance costs.

If you are on a budget there are several GITHUB repositories you could borrow from but it is still quite a challenging project
to run your own block explorer. (instead of hiring an experienced coder)

/KX

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!