-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add provenance coin (HASH) to symbols.py #71
base: master
Are you sure you want to change the base?
Add provenance coin (HASH) to symbols.py #71
Conversation
Add testing section in readme
Fix: Incorrect output of Base58 decoding.
add ZECTEST, fix LTC/LTCTEST Changed -> Litecoin (LTC) mainnet extend private key from `0x019d9cfe` to `0x488ade4` and public key from `0x019da462` to `0x488b21e` prefixes.
Corrected the spec link for BIP141.
Fixed BIP141 link
Fixed links in readme
Added version info
…ivate and xpublic functions.
Fix: missing quote in language error
Fix ripemd160 in python3.10
Fix Ripemd160 in python3.10
Update from pysha3 (deprecated) to pycryptodome for Keccak-256
Hi @llama-del-rey, please import Provenance (HASH) wallet protocol https://github.com/meherett/python-hdwallet/blob/master/hdwallet/cryptocurrencies.py here. |
Hi @meherett sorry but if and when you can review this please? 🙏 |
@@ -2753,6 +2753,44 @@ class HushMainnet(Cryptocurrency): | |||
DEFAULT_PATH = f"m/44'/{str(COIN_TYPE)}/0'/0/0" | |||
WIF_SECRET_KEY = 0x80 | |||
|
|||
class HashMainnet(Cryptocurrency): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer you to change the class from HashMainnet
to ProvenanceMainnet
name.
@@ -2753,6 +2753,44 @@ class HushMainnet(Cryptocurrency): | |||
DEFAULT_PATH = f"m/44'/{str(COIN_TYPE)}/0'/0/0" | |||
WIF_SECRET_KEY = 0x80 | |||
|
|||
class HashMainnet(Cryptocurrency): | |||
|
|||
NAME = "Hash" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also change this one Hash
into Provenance
name.
"P2WSH_IN_P2SH": None | ||
}) | ||
|
||
MASSAGE_PREFIX = "\x18Bitcoin hash Signed Message:\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure the message prefix is Bitcoin signing value, otherwise just set to None
value.
NAME = "Hash" | ||
SYMBOL = "HASH" | ||
NETWORK = "mainnet" | ||
SOURCE_CODE = None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Import Provenance github repo link (https://github.com/provenance-io/provenance) into source code.
@llama-del-rey and also add Provenance cryptocurrency into https://github.com/meherett/python-hdwallet#available-cryptocurrencies. |
No description provided.