You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We would like to add support for GRS to your repo.
GRS (Groestlcoin) is unique because it does not use SHA256D for the checksum on extended keys and addresses, but instead it uses double groestl (sha3 candidate).
We are wondering what the best way is to make code changes to submit as a pull request.
In the past, I had modified bitcoinjs to use the correct hash function based on added parameters added to some of the functions. This solution makes it hard to upgrade bitcoinjs after changes are made.
Another option may be to include a groestlcoinjs library. My concern with this is that there may be name conflicts with bitcoinjs, as they use the same names for functions. Perhaps JavaScript has a way around this, but not sure.
Would there be a better way to handle adding coins, such as Groestlcoin, that use different hash functions?
The text was updated successfully, but these errors were encountered:
We are wondering what the best way is to make code changes to submit as a pull request.
...
Would there be a better way to handle adding coins, such as Groestlcoin, that use different hash functions?
There is just a conditional that calculates the correct address / pubkey / privkey depending on the specific coin, and a library included for those operations, eg ethereumjs-util.js and ripple-util.js
Modifications to bitcoinjs-lib will not be accepted as a pull request.
We would like to add support for GRS to your repo.
GRS (Groestlcoin) is unique because it does not use SHA256D for the checksum on extended keys and addresses, but instead it uses double groestl (sha3 candidate).
We are wondering what the best way is to make code changes to submit as a pull request.
In the past, I had modified bitcoinjs to use the correct hash function based on added parameters added to some of the functions. This solution makes it hard to upgrade bitcoinjs after changes are made.
Another option may be to include a groestlcoinjs library. My concern with this is that there may be name conflicts with bitcoinjs, as they use the same names for functions. Perhaps JavaScript has a way around this, but not sure.
Would there be a better way to handle adding coins, such as Groestlcoin, that use different hash functions?
The text was updated successfully, but these errors were encountered: