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 182 times, 1 visits today)

You might be interested in

LEAVE YOUR COMMENT

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

kusama
Kusama (KSM) 156,12 2,14%
compound-governance-token
Compound (COMP) 326,60 1,85%
dash
Dash (DASH) 130,97 0,95%
zcash
Zcash (ZEC) 87,55 1,82%
yearn-finance
yearn.finance (YFI) 25.429,12 0,78%
bitcoin
Bitcoin (BTC) 32.895,05 2,00%
ethereum
Ethereum (ETH) 1.978,80 1,40%
tether
Tether (USDT) 0,842275 0,04%
cardano
Cardano (ADA) 1,07 1,17%
xrp
XRP (XRP) 0,608970 2,03%
dogecoin
Dogecoin (DOGE) 0,169078 3,56%
polkadot
Polkadot (DOT) 12,37 1,65%
usd-coin
USD Coin (USDC) 0,842275 0,11%
uniswap
Uniswap (UNI) 16,66 1,94%
bitcoin-cash
Bitcoin Cash (BCH) 444,74 4,23%
chainlink
Chainlink (LINK) 16,18 1,46%
matic-network
Polygon (MATIC) 0,850698 0,39%
solana
Solana (SOL) 25,66 7,23%
litecoin
Litecoin (LTC) 115,53 1,46%
stellar
Stellar (XLM) 0,224836 1,14%
ethereum-classic
Ethereum Classic (ETC) 40,89 0,25%
eos
EOS (EOS) 3,23 0,71%
tron
TRON (TRX) 0,051338 0,22%
filecoin
Filecoin (FIL) 41,30 0,38%
aave
Aave (AAVE) 257,41 0,40%
monero
Monero (XMR) 196,46 5,03%
dai
Dai (DAI) 0,842275 0,04%
tezos
Tezos (XTZ) 2,38 0,30%
cosmos
Cosmos (ATOM) 9,76 0,30%
algorand
Algorand (ALGO) 0,691977 3,71%