0

There is a problem in making and sending transaction. I got UTXOS by using API(GreenAddress), and from utxos I made a transaction. But calculated fee is always larger than one in original GA service. Sometimes success to send transaction. Sometimes, receives error like this 'Invalid signature'. I can't find out reason. Help me.

0

Hard to say without looking at the code. Want to paste the relevant code?

When dealing with the GreenAddress api we generally sign using libsecp256k1 rather than pycoin (even when we use pycoin for other things)

For example see https://github.com/greenaddress/garecovery - it makes GA multisig transactions with pycoin and then signs them

Hope it helps!

  • I appreciated your help. This answer is great helpful to me. – Coder HHC Mar 18 '18 at 11:33
  • Hi, Lawrence Nahum. I saw the project you teached me. There is also one problem. Sorry. From unspent transactions, How to make transaction and sign it? Pls help me. – Coder HHC Mar 18 '18 at 17:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.