Bitcoin Forum
May 04, 2024, 10:48:50 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: how to receive btc on xpub key on bitcond  (Read 581 times)
annie9771 (OP)
Member
**
Offline Offline

Activity: 118
Merit: 11


View Profile
March 13, 2017, 06:09:05 PM
Merited by ABCbits (1)
 #1

Greetings ,

My team installed bitcoin core on VPS , as much i know xpub key is multi addresses , now i wants that my team use xpub key to receive btc from users but i can't explain them technically ... please explain me how to generate xpub key and how to get btc on xpub key , currently web application is working on RPC protocol . Thanks
1714819730
Hero Member
*
Offline Offline

Posts: 1714819730

View Profile Personal Message (Offline)

Ignore
1714819730
Reply with quote  #2

1714819730
Report to moderator
1714819730
Hero Member
*
Offline Offline

Posts: 1714819730

View Profile Personal Message (Offline)

Ignore
1714819730
Reply with quote  #2

1714819730
Report to moderator
1714819730
Hero Member
*
Offline Offline

Posts: 1714819730

View Profile Personal Message (Offline)

Ignore
1714819730
Reply with quote  #2

1714819730
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714819730
Hero Member
*
Offline Offline

Posts: 1714819730

View Profile Personal Message (Offline)

Ignore
1714819730
Reply with quote  #2

1714819730
Report to moderator
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
March 13, 2017, 06:42:27 PM
Merited by ABCbits (1)
 #2

You cannot receive Bitcoin directly to an xpub. You use the xpub to derive new addresses which you use to receive Bitcoin. However, Bitcoin Core uses hardened xpub keys so you can only derive addresses by using the xpriv to derive the private key and then get the address from that.

annie9771 (OP)
Member
**
Offline Offline

Activity: 118
Merit: 11


View Profile
March 13, 2017, 06:46:26 PM
 #3

so basically through xpriv  i can get new address and it can be use to withdraw payments and for security of users accounts

You cannot receive Bitcoin directly to an xpub. You use the xpub to derive new addresses which you use to receive Bitcoin. However, Bitcoin Core uses hardened xpub keys so you can only derive addresses by using the xpriv to derive the private key and then get the address from that.
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
March 13, 2017, 06:56:58 PM
 #4

so basically through xpriv  i can get new address and it can be use to withdraw payments and for security of users accounts
Yes. However the xpriv is the master private key, so you should not be sharing that with anyone.

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!