libbitcoin / libbitcoin-system

Bitcoin Cross-Platform C++ Development Toolkit
https://libbitcoin.info/
Other
1.3k stars 385 forks source link

How to generate bech32 p2wpkh adress with bip84 from mnemonic #1534

Closed bn45hkurr0y4 closed 1 month ago

bn45hkurr0y4 commented 1 month ago

Hello. I am trying to generate a bitcoin address that starts with bc1q - bip84 with the path m/84'/0'/0'/0'/0/0. I want to get the same address as on iamcoleman. I tried to use your code https://github.com/libbitcoin/libbitcoin-system/issues/1399 but it is deprecated(namespaces bc not libbitcoin) and also there is no such address in your output there I had hundreds of problems before how to add the library to cmake project in VisualStudio, finally I installed the library via brew in macos. How do i get such an address?

bn45hkurr0y4 commented 1 month ago

I think I figured out what my problem is - your master branch contains the new version 4, and I'm trying to use the version with brew 3.8.0