Author

Topic: how to receive btc on xpub key on bitcond (Read 610 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
March 13, 2017, 01: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.
member
Activity: 118
Merit: 11
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.
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
member
Activity: 118
Merit: 11
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
Jump to: