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

You might be interested in

LEAVE YOUR COMMENT

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

eos
EOS (EOS) 0,534647 1,21%
aave
Aave (AAVE) 58,21 0,91%
the-graph
The Graph (GRT) 0,081514 0,70%
kusama
Kusama (KSM) 17,55 0,79%
waves
Waves (WAVES) 1,44 1,51%
dash
Dash (DASH) 24,96 0,43%
bitcoin
Bitcoin (BTC) 24.486,99 1,70%
ethereum
Ethereum (ETH) 1.479,19 0,94%
cardano
Cardano (ADA) 0,229629 0,41%
tether
Tether (USDT) 0,936889 0,03%
xrp
XRP (XRP) 0,464306 2,63%
solana
Solana (SOL) 18,23 0,92%
polkadot
Polkadot (DOT) 3,80 0,61%
usd-coin
USDC (USDC) 0,936589 0,05%
dogecoin
Dogecoin (DOGE) 0,056979 1,30%
uniswap
Uniswap (UNI) 3,98 0,25%
terra-luna
Terra Luna Classic (LUNC) 0,000057 1,18%
litecoin
Litecoin (LTC) 60,27 0,71%
chainlink
Chainlink (LINK) 6,80 1,40%
bitcoin-cash
Bitcoin Cash (BCH) 193,46 1,21%
algorand
Algorand (ALGO) 0,093798 0,58%
matic-network
Polygon (MATIC) 0,480854 1,22%
stellar
Stellar (XLM) 0,104972 1,19%
cosmos
Cosmos Hub (ATOM) 6,55 1,02%
filecoin
Filecoin (FIL) 3,01 1,72%
tron
TRON (TRX) 0,078965 0,35%
ethereum-classic
Ethereum Classic (ETC) 14,21 0,77%
dai
Dai (DAI) 0,936910 0,05%
tezos
Tezos (XTZ) 0,613399 1,33%
monero
Monero (XMR) 135,20 0,87%