Bitcoin Forum
May 09, 2024, 12:59:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How are bitcoin clients built?  (Read 426 times)
Sam25 (OP)
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?
1715259561
Hero Member
*
Offline Offline

Posts: 1715259561

View Profile Personal Message (Offline)

Ignore
1715259561
Reply with quote  #2

1715259561
Report to moderator
1715259561
Hero Member
*
Offline Offline

Posts: 1715259561

View Profile Personal Message (Offline)

Ignore
1715259561
Reply with quote  #2

1715259561
Report to moderator
1715259561
Hero Member
*
Offline Offline

Posts: 1715259561

View Profile Personal Message (Offline)

Ignore
1715259561
Reply with quote  #2

1715259561
Report to moderator
Every time a block is mined, a certain amount of BTC (called the subsidy) is created out of thin air and given to the miner. The subsidy halves every four years and will reach 0 in about 130 years.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715259561
Hero Member
*
Offline Offline

Posts: 1715259561

View Profile Personal Message (Offline)

Ignore
1715259561
Reply with quote  #2

1715259561
Report to moderator
1715259561
Hero Member
*
Offline Offline

Posts: 1715259561

View Profile Personal Message (Offline)

Ignore
1715259561
Reply with quote  #2

1715259561
Report to moderator
1715259561
Hero Member
*
Offline Offline

Posts: 1715259561

View Profile Personal Message (Offline)

Ignore
1715259561
Reply with quote  #2

1715259561
Report to moderator
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: 2


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: 86
Merit: 10


View Profile
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: 241
Merit: 107



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

Datacoin : DHZ6H91fsDoBHbdqED3ysCJJ2TUh3zRMZD
Krugercoin : Yz3A9sTMp2yh5QLuAL8YQyvS5PdjHRHkkf
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!