10gic / vanitygen-plusplus

A vanity address generator for BTC, ETH, LTC, TRX and 100+ more crypto currencies.
GNU Affero General Public License v3.0
254 stars 90 forks source link

Add support for CHX - WeOwn (two byte version byte) #25

Closed justanotherbagholder closed 2 years ago

justanotherbagholder commented 2 years ago

Hi is it possible to use the tool to generate addresses for chains using a 2 byte prefix? e.g CHX / WeOwn;

BIP32 Derivation Path: m/44'/25718'/0'/0 Prefix: CH / 0x065A (Hex)

Crypto details from devs: https://github.com/OwnMarket/OwnBlockchain/blob/master/Docs/Cryptography/Cryptography.md

Details below from https://github.com/satoshilabs/slips/blob/master/slip-0044.md Coin type Path component (coin_type') Symbol Coin
25718 0x80006476 CHX WeOwn

I tried & failed to get correct values working for Address base58 version (prefix) & Private key base58 version (prefix) any idea how to derive this information?

10gic commented 2 years ago

The address generation process of CHX is not compatible with BTC. See: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

For example, there is no RIPEMD-160 computing in CHX.

So, you can't use this tool to generate CHX address.

justanotherbagholder commented 2 years ago

The address generation process of CHX is not compatible with BTC. See: https://en.bitcoin.it/wiki/Technical_background_of_version_1_Bitcoin_addresses

For example, there is no RIPEMD-160 computing in CHX.

So, you can't use this tool to generate CHX address.

thanks for your feedback!