BIP39 basics: generating mnemonic and seed from entropy (bitcoin python)

In this video, we will start a new series – coding bitcoin wallet in python. Using python3 I am going through the implementation of BIP39 – deriving a mnemonic 24-word sentence from given entropy and converting it to SEED using the specified password.

Links:
Trezor python bip39 repo:
https://github.com/trezor/python-mnemonic
BIP39 wiki page:
https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki
IanColeman BIP39 “Mnemonic Code Converter”:
https://iancoleman.io/bip39/#english
Repo for this video:
https://github.com/tongokongo/bitcoin-basics/tree/master/mnemonic_seed_generation
Infographics:
https://i.imgur.com/skpXiK4.png

Timestamps:
0:00 Intro
0:40 Layman overview of BIP39
3:50 Coding – entropy generation
8:14 Entropy to word generating number
18:43 Encoding words from the number
28:20 Testing the result in online tool
31:59 Mnemonic to Seed
41:19 Summary

++++++++++++++++++++++++++++++++++++++++++
Layer One Btc tshirts:
https://layeronebtc.com/?rfsn=2832052.839ce9
Non-affiliate:
https://layeronebtc.com
++++++++++++++++++++++++++++++++++++++++++

Opinion produced in this video is just my own opinion. I am not a financial advisor, just a guy speaking about the news and technology behind the bitcoin.

Social:
Twitter: https://twitter.com/explorecryptony

#bip39 #bitcoinpython #programmingbitcoin #bitcoin #python

(Visited 893 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published. Required fields are marked *

eos
EOS (EOS) 0,756552 3,92%
aave
Aave (AAVE) 79,79 2,81%
the-graph
The Graph (GRT) 0,236100 7,27%
kusama
Kusama (KSM) 27,82 4,12%
waves
Waves (WAVES) 2,19 1,21%
dash
Dash (DASH) 27,19 3,22%
bitcoin
Bitcoin (BTC) 55.581,07 3,98%
ethereum
Ethereum (ETH) 2.800,70 2,79%
cardano
Cardano (ADA) 0,427169 3,15%
tether
Tether (USDT) 0,932728 0,08%
xrp
XRP (XRP) 0,485915 1,86%
solana
Solana (SOL) 130,79 8,24%
polkadot
Polkadot (DOT) 6,73 4,94%
usd-coin
USDC (USDC) 0,932843 0,03%
dogecoin
Dogecoin (DOGE) 0,124934 6,87%
uniswap
Uniswap (UNI) 6,62 2,12%
terra-luna
Terra Luna Classic (LUNC) 0,000096 4,85%
litecoin
Litecoin (LTC) 75,10 1,16%
chainlink
Chainlink (LINK) 12,75 3,40%
bitcoin-cash
Bitcoin Cash (BCH) 408,21 5,32%
algorand
Algorand (ALGO) 0,170095 2,67%
matic-network
Polygon (MATIC) 0,670294 4,93%
stellar
Stellar (XLM) 0,102902 1,48%
cosmos
Cosmos Hub (ATOM) 8,02 1,11%
filecoin
Filecoin (FIL) 5,52 5,05%
tron
TRON (TRX) 0,114254 0,85%
ethereum-classic
Ethereum Classic (ETC) 24,21 3,33%
dai
Dai (DAI) 0,932112 0,06%
tezos
Tezos (XTZ) 0,876997 3,11%
monero
Monero (XMR) 115,18 0,91%