• About
  • FAQ
  • Earn Bitcoin while Surfing the net
  • Buy & Sell Crypto on Paxful
Newsletter
Approx Foundation
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
  • Home
    • Home – Layout 1
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Business
  • Guide
  • Contact Us
No Result
View All Result
Approx Foundation
No Result
View All Result
Home Bitcoin

php – How to generate btc addresses from XPUB?

Moussa by Moussa
May 24, 2026
in Bitcoin
0
How do Bitcoin mining pools typically handle payout frequency versus thresholds?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


An extensive public key (XPUB) is a sort of different evened out deterministic (HD) wallet key that licenses you to deliver a boundless number of bitcoin addresses from a singular master key. This can be useful on the off chance that you want to make a new bitcoin address for each trade then again to manage endless bitcoin addresses.

To deliver a bitcoin address from a XPUB, you can use a gadget, for instance, the bitcoin-cli request line interface or a programming library like BitcoinJS. Here is a representation of how you could make a bitcoin address from a XPUB using the bitcoin-cli request line interface::

1-Regardless, guarantee you have the bitcoin-cli instrument presented on your structure.

2-Open a terminal window and enter the going with request to communicate with your bitcoin center point:

— bitcoin-cli -regtest —

3- Next, use the getnewaddress command to generate a new bitcoin address:

— bitcoin-cli -regtest getnewaddress —

4- This will return a new bitcoin address that you can use to get portions. To make additional areas, you can use the deriveaddresses request, which acknowledges a XPUB as a conflict and delivers an overview of addresses:

bitcoin-cli -regtest deriveaddresses “xpub6DU6JYBvfZjSJgUJpMh6FiZbvL3Bd4ZxAZuvZQgcCv5vY3qrWj5J35Q2K5zAKvZ8XaZxJpZcPJGmrgvw8HJWfjHRBJ1MgvMYdJzW5xp8Gv”

This will create a summary of 10 areas considering the XPUB that you gave. You can change the amount of addresses made by using the count limit:



Source link

Related articles

Bitcoin News: $1Bn ETF Exodus and What it Means for BTC USD

Bitcoin News: $1Bn ETF Exodus and What it Means for BTC USD

May 24, 2026
Bitcoin Struggles To Reclaim Key Cost Basis As Realized Losses Climb — Details

Bitcoin Struggles To Reclaim Key Cost Basis As Realized Losses Climb — Details

May 24, 2026
Share76Tweet47

Related Posts

Bitcoin News: $1Bn ETF Exodus and What it Means for BTC USD

Bitcoin News: $1Bn ETF Exodus and What it Means for BTC USD

by Moussa
May 24, 2026
0

In Bitcoin news today, US spot Bitcoin ETFs recorded $648.64M in net outflows on May 18, 2026, one of the...

Bitcoin Struggles To Reclaim Key Cost Basis As Realized Losses Climb — Details

Bitcoin Struggles To Reclaim Key Cost Basis As Realized Losses Climb — Details

by Moussa
May 24, 2026
0

Since the past week, the Bitcoin price has traded below the cost basis of one of its most reactive investor...

A $1 Billion Fix for Ethereum? Dev Proposes a Radical New Organization to Save ETH

A $1 Billion Fix for Ethereum? Dev Proposes a Radical New Organization to Save ETH

by Moussa
May 24, 2026
0

Key TakeawaysAfter 9 Ethereum Foundation departures spooked markets, Simon Dedic says the network must next focus on business.Noting 2 years...

How do Bitcoin mining pools typically handle payout frequency versus thresholds?

Bitcoin core wallet transaction password

by Moussa
May 24, 2026
0

Hello i have been collecting bitcoin in bitcoin core wallet now i want to transfere it to other but donot...

Trump Just Ordered Troops to Prepare a Full Assault on Iran, And Bitcoin Is Clinging to $76,000

Trump Just Ordered Troops to Prepare a Full Assault on Iran, And Bitcoin Is Clinging to $76,000

by Moussa
May 24, 2026
0

Bitcoin price held a razor-thin range between $76,000 and $77,000 on Monday, recording just a -0.05% change at $76,797.74 while...

Load More

youssufi.com

sephina.com

[vc_row full_width="stretch_row" parallax="content-moving" vc_row_background="" background_repeat="no-repeat" background_position="center center" footer_scheme="dark" css=".vc_custom_1517813231908{padding-top: 60px !important;padding-bottom: 30px !important;background-color: #191818 !important;background-position: center;background-repeat: no-repeat !important;background-size: cover !important;}" footer_widget_title_color="#fcbf46" footer_button_bg="#fcb11e"][vc_column width="1/4"]

We bring you the latest in Crypto News

[/vc_column][vc_column width="1/4"][vc_wp_categories]
[/vc_column][vc_column width="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xhc3MlM0QlMjJ0bnAtZmllbGQlMjB0bnAtcHJpdmFjeS1maWVsZCUyMiUzRSUzQ2xhYmVsJTNFJTNDaW5wdXQlMjB0eXBlJTNEJTIyY2hlY2tib3glMjIlMjBuYW1lJTNEJTIybnklMjIlMjByZXF1aXJlZCUyMGNsYXNzJTNEJTIydG5wLXByaXZhY3klMjIlM0UlQzIlQTBCeSUyMGNvbnRpbnVpbmclMkMlMjB5b3UlMjBhY2NlcHQlMjB0aGUlMjBwcml2YWN5JTIwcG9saWN5JTNDJTJGbGFiZWwlM0UlM0MlMkZkaXYlM0UlM0NkaXYlMjBjbGFzcyUzRCUyMnRucC1maWVsZCUyMHRucC1maWVsZC1idXR0b24lMjIlM0UlM0NpbnB1dCUyMGNsYXNzJTNEJTIydG5wLXN1Ym1pdCUyMiUyMHR5cGUlM0QlMjJzdWJtaXQlMjIlMjB2YWx1ZSUzRCUyMlN1YnNjcmliZSUyMiUyMCUzRSUwQSUzQyUyRmRpdiUzRSUwQSUzQyUyRmZvcm0lM0UlMEElM0MlMkZkaXYlM0UlM0NiciUyRiUzRSUzQyUyRnAlM0U=[/vc_raw_html][/vc_column][/vc_row]
No Result
View All Result
  • Contact Us
  • Homepages
  • Business
  • Guide

© 2024 APPROX FOUNDATION - The Crypto Currency News