Bitcoin Forum
May 27, 2024, 10:35:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to create bitcoin service without 3rd party ?  (Read 277 times)
maplelake (OP)
Jr. Member
*
Offline Offline

Activity: 47
Merit: 8


View Profile
May 29, 2020, 09:51:27 PM
 #1

if i'll create several web service, like wallet,create transaction, block chain explorer. How to implement it ?
Is there some open source or video ? step by step post ?

I know nothing things more than "install bitcoin client, then let your web service implementation interact with bitcoin client".

Thanks
 
BitMaxz
Legendary
*
Offline Offline

Activity: 3262
Merit: 2979


:( My PC broke due trying to recover an old wallet


View Profile WWW
May 29, 2020, 10:18:22 PM
 #2

What exactly do you want to achieve? Are you talking about a payment gateway/processor where you can accept Bitcoin as payment without using 3rd party wallets?
Or are you going to develop Bitcoin by creating your own blockchain explorer and etc.?


If you talking about payment gateway you can check this one https://btcpayserver.org/
It doesn't need a 3rd party you can run it in your own machine(Self-hosted) and put your own wallet master public key.

If you talking about developing I have a good source where you can start developing bitcoin or make your own DIY blockchain you can check the link below.
- https://github.com/openblockchains/awesome-blockchains

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
May 30, 2020, 03:02:23 PM
 #3

You can't expect a more detailed description than "install core, use it with your web applicatoin", if you don't give out more information regarding your application/service.

If you plan on creating a block explorer, you need to have all transactions indexed. This option has to be set before syncing core.
If you plan on opening a webshop / something similair, you don't need all transactions indexed.

In both cases, you'll need to use the JSON-RPC interface to get the necessary information from your node.
Your application will send commands to your node (e.g. what is the balance of address X). Then you can work with the answer.
And you can set a script to be run each time a new block/transaction to your wallet is received (e.g. whenever you receive a transaction -> add something to the DB).

Welsh
Staff
Legendary
*
Offline Offline

Activity: 3276
Merit: 4111


View Profile
June 05, 2020, 10:21:34 PM
 #4

If you don't want to rely on a third party at ALL then you'll need to code everything yourself. Such as; The wallet, block explorer, and then you would still need to rely on connecting to the main chain of Bitcoin. So, in theory you would still be collecting data from a third party as a whole since the Bitcoin network is based on verifying data through multiple nodes working together to check the integrity of the network. You could run your own node, and connect to that to collect the data to avoid some of the issues for this.

However, despite the consensus of third party = bad, most of the time its just convenient to use a third party.
cryptoworld99
Member
**
Offline Offline

Activity: 84
Merit: 22


View Profile
June 11, 2020, 08:23:49 PM
 #5

If you're looking to have a self-hosted platform for anything using cryptocurrency here are a few things you'll need.


1) knowledge with JSON rpc calls.
2) Your own node


You could run functions such as wallet notify and txnotify - this can be set up in the bitcoin.conf file so whenever you get a transaction in or out/ and a confirmation that file is run, to store the information you need to your database.

It's pretty simple, but you must be aware of hackers since they will target your node if it's not secured. I.e PORTS and always encrypt your node with a strong password (if you lose your password, your coins are gone.)

What are you trying to build Smiley it's interesting to share so members here can help you out more.


Best of luck.
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!