Parse and Sign Bitcoin PSBTs with embit in Python
Load, inspect, and sign a base64 PSBT with embit, using public BIP32 test keys and descriptors while accounting for offline signing and validation limits.
PDF document · Published
Open the PDF (6 pages, 181 KB)
Contents
- Load the PSBT and inspect its contents
- Derive a test key and check a descriptor
- Review, sign, and serialize
- Why embit fits an air-gapped signer
- FAQ
- Sources
- Example BIP39 word sequences
- Reading a BIP39 phrase
- See also
- Keywords:
- PSBT parsing · Python Bitcoin signing · BIP32 · air-gapped signer
Guides on the same subject
- BIP39 vs BIP32 vs BIP44: How the Seed Standards Fit Together
BIP39 makes the 12–24 words and the seed, BIP32 derives a tree of keys from it, and BIP44 sets each coin's path, such as m/44'/0'/0'/0/0.
- Generate a BIP39 Seed Phrase in Python: Code and Test Vectors
Generate and check BIP39 seed phrases in Python: entropy, checksum, wordlist and PBKDF2 seed, with standard-library code tested against official vectors.
- API Keys of Major Cryptocurrency Exchanges: Examples & Uses
An exchange API key pairs a public key with a secret that signs requests. Formats and signing for Binance, Coinbase, Kraken, Bitfinex and HTX, plus safety tips.
One of the documents in the Seed Phrase PDF Archive, listed on archive page 13.