• Home
  • About Us
  • disclaimer
  • Privacy Policy
  • Terms and Conditions
  • Contact Us
Crypto News
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login
No Result
View All Result
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login
No Result
View All Result
Crypto News
No Result
View All Result
Home Crypto News

segregated witness – Right Configuration for Producing Bitcoin SegWit (BIP84) Addresses

Cryptoadmin by Cryptoadmin
October 24, 2024
in Crypto News
0
BEST CRYPTO RECOVERY FIRM 2024
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter


I am producing SegWit keys and addresses utilizing bitcoinjs-lib. I am new to Blockchain so I am utilizing Ian Coleman’s bip39 repo for steerage. Nonetheless, I encountered completely different key and deal with outputs when producing them with bitcoinjs-lib in comparison with the outcomes from Ian Coleman’s device.

I came upon that the reason being within the community config, I am utilizing the bitcoin community config instantly from bitcoinjs-lib, whereas in that repo there is a customized config.

Here is the config I used:

{
  messagePrefix: 'x18Bitcoin Signed Message:n',
  bech32: 'bc',
  bip32: {
    public: 0x0488b21e,
    non-public: 0x0488ade4,
  },
  pubKeyHash: 0x00,
  scriptHash: 0x05
  wif: 0x80,
}

And here’s the config from Ian Coleman’s device:

{
  messagePrefix:"u0018Bitcoin Signed Message:n",
  bech32:"bc",
  bip32:
    { 
      public: 78792518, // 0x4B24746
      non-public: 78791436 // 0x4B2430C
    },
  pubKeyHash: 0, // 0x00
  scriptHash: 5, // 0x05
  wif: 128 // 0x80
}

My outcome outputs keys that begin from xprv and xpub whereas Ian Coleman’s resulted in zprv and zpub.

On condition that BIP84 mandates zprv and zpub prefixes for native SegWit keys, Ian Coleman’s config appears extra applicable. Nonetheless, each configurations generate seemingly right addresses.

So, my questions are:

  1. Which configuration is right for producing native SegWit (BIP84) addresses?
  2. Are there any dangers or drawbacks in utilizing the xpub/xprv prefixes for SegWit addresses, or will it simply have an effect on compatibility with sure wallets?”
Tags: AddressesBIP84BitcoinConfigurationCorrectGeneratingsegregatedSegwitwitness
Share76Tweet47
  • Trending
  • Comments
  • Latest
USDG Rewards: Earn as much as 4%+ APR in USDG on Kraken

USDG Rewards: Earn as much as 4%+ APR in USDG on Kraken

April 10, 2025
How Essential is Jito Solana MEV Bot Growth for the Cryptocurrency Ecosystem?

How Essential is Jito Solana MEV Bot Growth for the Cryptocurrency Ecosystem?

July 31, 2024
PURA Cost Processing | CoinPayments

PURA Cost Processing | CoinPayments

May 13, 2024
The Sandbox Basic Evaluation – Metaverse Crypto Gaming Platform

The Sandbox Basic Evaluation – Metaverse Crypto Gaming Platform

March 2, 2024
Ethiopia to begin mining Bitcoin by means of new information mining partnership

Ethiopia to begin mining Bitcoin by means of new information mining partnership

0
Be part of HitBTC official social media channels !

Be part of HitBTC official social media channels !

0
Bitwise launching spot bitcoin ETF (BITB) – CryptoNinjas

Bitwise launching spot bitcoin ETF (BITB) – CryptoNinjas

0
DeFi Masterclass. Decentralized Finance (DeFi) is an… | by Rohas Nagpal | Blockchain Weblog

DeFi Masterclass. Decentralized Finance (DeFi) is an… | by Rohas Nagpal | Blockchain Weblog

0
Solana Worth Up 1% As 21Shares Recordsdata SOL ETF, Cboe Approves It

Solana Worth Up 1% As 21Shares Recordsdata SOL ETF, Cboe Approves It

November 20, 2025
Retail Buyers in Singapore Embrace Crypto as 61% Report Holding Digital Belongings: Coinbase

Retail Buyers in Singapore Embrace Crypto as 61% Report Holding Digital Belongings: Coinbase

November 20, 2025
Datagram Airdrop Information | Step-by-step Information

Datagram Airdrop Information | Step-by-step Information

November 20, 2025
Evaluating Greatest Pockets Token and Digitap as Their 2025 Presales Progress

Evaluating Greatest Pockets Token and Digitap as Their 2025 Presales Progress

November 19, 2025

About Us

Welcome to Blog.cryptostudy.net The goal of Blog.cryptostudy.net is to give you the absolute best news sources for any topic! Our topics are carefully curated and constantly updated as we know the web moves fast so we try to as well.

Recent Posts

  • Solana Worth Up 1% As 21Shares Recordsdata SOL ETF, Cboe Approves It
  • Retail Buyers in Singapore Embrace Crypto as 61% Report Holding Digital Belongings: Coinbase
  • Datagram Airdrop Information | Step-by-step Information
  • Home
  • About Us
  • disclaimer
  • Privacy Policy
  • Terms and Conditions
  • Contact Us

Copyright © 2024 Blog.cryptostudy.net | All Rights Reserved.

No Result
View All Result
  • Home
  • Crypto News
  • Team Portofolio (Premium)
  • Member Login

Copyright © 2024 Blog.cryptostudy.net | All Rights Reserved.