Bitcoin Forum
May 04, 2024, 06:00: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 wallet address using java and track the payment ?  (Read 83 times)
Junior16 (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
March 29, 2022, 09:53:40 AM
 #1

Hello,

1]  I want to create bitcoin wallet addresses and store its key in database using java . But I don't find any solution on how to create on bitcoin blockchain .

2] I want to track the transaction made to that wallet addresses that we created in STEP 1 .

I don't know how to create and track the payment

Should i create RPC node for bitcoin chain ?
What are the virtual server configurations that i need ?
How to that server will notify me about the transaction?
1714845628
Hero Member
*
Offline Offline

Posts: 1714845628

View Profile Personal Message (Offline)

Ignore
1714845628
Reply with quote  #2

1714845628
Report to moderator
"There should not be any signed int. If you've found a signed int somewhere, please tell me (within the next 25 years please) and I'll change it to unsigned int." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714845628
Hero Member
*
Offline Offline

Posts: 1714845628

View Profile Personal Message (Offline)

Ignore
1714845628
Reply with quote  #2

1714845628
Report to moderator
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
March 30, 2022, 08:14:24 PM
Last edit: March 31, 2022, 05:59:33 AM by PawGo
Merited by ABCbits (1)
 #2

Hey

There is a mature java library which will do all you need - generate key (standalone or from seed), address etc.
https://github.com/bitcoinj/bitcoinj

Of course additional layer like saving data in your local database you must do yourself.

Talking about blockchain, the best would be to have local bitcoin node, you may query it using rpc like you said, but you may also configure it to trigger some actions for example for incoming transaction for a given addresses. All that features are described in node’s documentation.

Specify what exactly you want your software to do - monitor given addresses? What exactly is your need? Because if you want for example generate addresses for clients and monitor if payment is sent, there are already a solutions for that.
LoyceV
Legendary
*
Offline Offline

Activity: 3304
Merit: 16596


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 31, 2022, 08:03:23 AM
Merited by NeuroticFish (2), ABCbits (2)
 #3

1]  I want to create bitcoin wallet addresses and store its key in database using java . But I don't find any solution on how to create on bitcoin blockchain .
As much as I appreciate your enthusiasm, you may want to take a step back. Are you sure you want to create your own system, and if so, are you sure you can keep it safe? Especially when you talk about "creating an address on the blockchain", it might not be the best idea.

alexeyneu
Member
**
Offline Offline

Activity: 312
Merit: 30


View Profile
April 12, 2022, 04:58:20 PM
 #4

https://github.com/bcoin-org/bcoin

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!