I understand that there are two types of signatures, one DER format and another a compact type signature which includes a base64 format. In building a raw transaction how is the base64 format of a signature incorporated into the transaction. I know how to incorporate a DER encoded signature but need some help with a base64 formatted signature. Can someone suggest a python or javascript library that handles base64 signatures in building a transaction?


In building a raw transaction how is the base64 format of a signature incorporated into the transaction.

It's not, there's no base64 representation of signatures used in Bitcoin consensus or transactions.

Message signing using P2PKH with signmessage in Bitcoin Core and other tools uses a feature of ECDSA which was re-discovered after the creation of the software called pubkey recovery, this is frequently but not always encoded as base64 as a human compatible representation. It is not used anywhere else.

one DER format

The original releases of Bitcoin effectively used ASN.1 BER, and this was reduced to a strict definition of DER in BIP66. In effect we don't use ASN.1 all, but a very restricted subset of it due to consensus issues surrounding using a lengthy, poorly defined, and malleable specification.

I really don't understand why there is a move to make a currency so complex when the original intention was for it to alleviate the economic pain and hardship on earth.

Your misunderstanding of Bitcoin is hubris, not unnecessary complexity.

| improve this answer | |
  • My understanding of what's going on with Bitcoin is right on target. That's why many other cryptos have come up. I just started researching Bitcoin a few months ago and it only took a couple of weeks to figure out that Bitcoin has been turned into something other than what it was initially intended to be. – SueBee Oct 8 '19 at 0:06
  • @PeterWuille thank you for the explanation. – SueBee Oct 8 '19 at 0:06
  • It’s not, you’re just incompetent and projecting. – Anonymous Oct 8 '19 at 0:09
  • That's projected back to you!!!Why don't you stop hiding behind anonymity - be real. You must be the main one behind keeping bitcoin from the masses. – SueBee Oct 14 '19 at 16:21
  • I’m respected without needing an identity. – Anonymous Oct 14 '19 at 16:22

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.