Bitcoin Forum
October 20, 2018, 08:41:24 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: How are bitcoin clients built?  (Read 313 times)
Sam25
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 10, 2017, 08:02:06 AM
 #1

I know how Bitcoin works, but I am new to Bitcoin development. I want to develop a bitcoin client as a side project for learning purposes, and on reading I came across Bitcoin Core. My question is, are all the currently available wallets and clients built on top of the Bitcoin Core, or is there any other way of building them from scratch?
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
floaks
Newbie
*
Offline Offline

Activity: 40
Merit: 0


View Profile WWW
December 10, 2017, 11:59:13 AM
 #2

All wallets implement the same technique but they don't all use the Bitcoin core source. Best way to start is to Google for something like "compile Bitcoin source"

Several options available. You can develop a c++ client, a Node client, and so on. Include this in your search.
You can also check some open source wallets on Github. For example Electrum:
https://github.com/spesmilo/electrum

An example to compile the original wallet is:
https://bitzuma.com/posts/compile-bitcoin-core-from-source-on-ubuntu/
hopeAo
Jr. Member
*
Offline Offline

Activity: 42
Merit: 1


View Profile
December 12, 2017, 08:04:48 AM
 #3

I know how Bitcoin works, but I am new to Bitcoin development. I want to develop a bitcoin client as a side project for learning purposes, and on reading I came across Bitcoin Core. My question is, are all the currently available wallets and clients built on top of the Bitcoin Core, or is there any other way of building them from scratch?

I think these links should help

https://medium.com/@CoinMeteor/how-to-set-up-the-bitcoin-core-wallet-client-for-beginners-and-send-your-first-transaction-819c6d5b9790

https://en.bitcoin.it/wiki/Clients

shensu
Member
**
Offline Offline

Activity: 85
Merit: 10


View Profile WWW
December 13, 2017, 12:49:49 AM
 #4

You can either try to embed the code from a reference node implementation and work on top of it. Your other option is to re-implement the parts of the node that you need for your client.
hamburger
Full Member
***
Offline Offline

Activity: 190
Merit: 103



View Profile WWW
December 13, 2017, 03:41:12 AM
 #5

I know how Bitcoin works, but I am new to Bitcoin development. I want to develop a bitcoin client as a side project for learning purposes, and on reading I came across Bitcoin Core. My question is, are all the currently available wallets and clients built on top of the Bitcoin Core, or is there any other way of building them from scratch?

The answer that you are looking for is yes.

Setting up Bitcoin Core on your local server or remote server that will give you four executable files depending on your system used, it will be bitcoind, bitcoin-cli, bitcoin-tx, and bitcoin-qt and these are the executable files that your client use to interact with the bitcoin network. As an example, you need to create a bitcoin.conf file to accept JSON-RPC commands. Just take not e of the rpcauth cookie that is needed in the bitcoin.conf file if you do not want to be driven insane trying to find out why you cannot interact with the daemon.

H

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!