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

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 0,947897 0,87%
aave
Aave (AAVE) 65,05 1,15%
the-graph
The Graph (GRT) 0,108358 1,92%
kusama
Kusama (KSM) 53,16 1,83%
waves
Waves (WAVES) 6,05 1,24%
dash
Dash (DASH) 48,70 0,79%
bitcoin
Bitcoin (BTC) 20.150,40 0,25%
ethereum
Ethereum (ETH) 1.146,48 2,34%
cardano
Cardano (ADA) 0,464542 2,96%
tether
Tether (USDT) 0,951351 0,06%
xrp
XRP (XRP) 0,343454 1,33%
solana
Solana (SOL) 38,28 2,89%
polkadot
Polkadot (DOT) 7,61 2,60%
usd-coin
USD Coin (USDC) 0,952302 0,17%
dogecoin
Dogecoin (DOGE) 0,064171 0,30%
uniswap
Uniswap (UNI) 5,24 0,30%
litecoin
Litecoin (LTC) 55,70 5,05%
chainlink
Chainlink (LINK) 6,61 3,87%
bitcoin-cash
Bitcoin Cash (BCH) 108,64 3,19%
algorand
Algorand (ALGO) 0,327898 2,05%
matic-network
Polygon (MATIC) 0,568375 1,43%
stellar
Stellar (XLM) 0,119317 1,62%
cosmos
Cosmos Hub (ATOM) 8,12 4,10%
filecoin
Filecoin (FIL) 5,71 2,89%
tron
TRON (TRX) 0,061279 2,71%
ethereum-classic
Ethereum Classic (ETC) 15,40 2,62%
dai
Dai (DAI) 0,951351 0,10%
tezos
Tezos (XTZ) 1,44 1,10%
monero
Monero (XMR) 118,38 2,98%