Closed Droppix closed 4 years ago
We do not support BTG.
It uses sighash forkid, so all the signatures will fail verification unless you use the sighash_forkid method for creating the sighash during signing.
I do have an unsupported fork that supports it.
You will have to figure out how to use it / whether it is safe on your own.
https://github.com/junderw/bitcoinjs-lib/tree/cashv5
Here's a test that shows how you use it.
ah great! I'm going to watch... Thanks
Le mer. 16 sept. 2020 à 12:28, Jonathan Underwood notifications@github.com a écrit :
I do have an unsupported fork that supports it.
You will have to figure out how to use it / whether it is safe on your own.
https://github.com/junderw/bitcoinjs-lib/tree/cashv5
Here's a test that shows how you use it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bitcoinjs/bitcoinjs-lib/issues/1621#issuecomment-693317831, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEKL45MLXWWQAD2LWOQYB3SGCHNFANCNFSM4RORI2MQ .
Hi,
I try use bitcoinjs-lib for create transaction BTG (BIP44 -> BIP44, BIP49 -> BIP44, ...), I can create a rawTx but I try to send, I have this error: -26: non-mandatory-script-verify-flag (Signature hash type missing or not understood) (code 64)'
An idea ?
Thanks