blockchain_utils
blockchain_utils copied to clipboard
Allow custom coin configuration for BIP49 or others
Thanks for the awesome library!
I was wondering if there's a way to use BIP49 with a configuration not listed here.
If not, would it be possible to add support for new cryptocurrencies in this library?
It seems like the fromSeed method could potentially accept a custom configuration.
Thanks for the awesome library! I was wondering if there's a way to use BIP49 with a configuration not listed here. If not, would it be possible to add support for new cryptocurrencies in this library? It seems like the
fromSeedmethod could potentially accept a custom configuration.
Hi, thanks
Different coins use different cryptographic standards, and depending on that, you can use specific tools for key generation. Here are some options for generating keys with different cryptography standards:
Bip32Slip10Secp256k1
Bip32Slip10Ed25519
CardanoIcarusBip32
Bip32KholawEd25519
Bip32Slip10Ed25519Blake2b
Bip32Slip10Nist256p1
There are also specific tools for certain coin standards, like:
Bip44Coins
Bip49Coins
Bip84Coins
Bip86Coins
Cip1852Coins
which coin do you need?
I'd like to generate keys for the Electra Protocol layer 2 (Omni XEP). I was able to fork and create the config for this network. Let me know if you want me to submit a PR.
Bip49 / Slip44 / secp256k1
Bip49 / Slip44 / secp256k1
Apologies for the delay. Could you please clarify exactly what you need? I’ll review it and either add it to the package or submit a pull request.
@mrtnetwork, I need to generate wallets for crypto not listed in your project. Basically, this: https://github.com/sandrocsimas/blockchain_utils/commit/15b2d3bc076eb22e681767215b13ada7df7b7d55
@mrtnetwork, I need to generate wallets for crypto not listed in your project. Basically, this: sandrocsimas@15b2d3b
I will consider for the next update
Thank you, @mrtnetwork. If you're planning to add support for the Electra protocol, I’d recommend holding off for now as I'm still creating and testing the wallet.
But if you're just considering making fromSeed and other functions more flexible to support custom cryptocurrencies, that would be fantastic!
Hi @mrtnetwork, I created a PR for this repository and another for bitcoin_base. Both to complete the integration with OmniXEP. Many thanks!
It would still be nice to have a generic interface, so people can add their own coin config, without needing to submit a PR.
@mrtnetwork, are you planning to release a new version of blockchain_utils and bitcoin_base soon? I'd love to get rid of my forks and launch OmniXEP mobile wallet without them, hehe.
@mrtnetwork, are you planning to release a new version of blockchain_utils and bitcoin_base soon? I'd love to get rid of my forks and launch OmniXEP mobile wallet without them, hehe.
hi, a week ago I published them in pub dev with OmniXEP features.
Oh, nice, I'll take a look. Thanks!