January 2019
Beginner to intermediate
372 pages
11h 17m
English
Transaction signing is a crucial process to unlock the funds so that they can be transferred to a new owner. Every transaction input includes a signature field that contains a signature signed by the owner of the referenced transaction output fund. Each transaction input signs the transaction ID, and this makes sure that none of the transaction inputs can be tampered with because the transaction ID is the digest of the entire transaction. Modifying any of the input will render all the signatures invalid.
We will use packages to perform serialization, signing, and verification of the transaction information:
import binascii from ecdsa import SigningKey, VerifyingKey, SECP256k1
Read now
Unlock full access