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

You might be interested in

LEAVE YOUR COMMENT

Your email address will not be published.

eos
EOS (EOS) 1,26 5,05%
aave
Aave (AAVE) 80,03 0,75%
the-graph
The Graph (GRT) 0,103331 1,00%
kusama
Kusama (KSM) 44,81 3,31%
waves
Waves (WAVES) 4,01 1,07%
dash
Dash (DASH) 43,97 0,95%
bitcoin
Bitcoin (BTC) 20.335,98 0,25%
ethereum
Ethereum (ETH) 1.394,15 0,88%
cardano
Cardano (ADA) 0,455032 0,61%
tether
Tether (USDT) 1,04 0,05%
xrp
XRP (XRP) 0,499312 8,92%
solana
Solana (SOL) 35,51 1,98%
polkadot
Polkadot (DOT) 6,68 0,15%
usd-coin
USD Coin (USDC) 1,04 0,25%
dogecoin
Dogecoin (DOGE) 0,062963 0,85%
uniswap
Uniswap (UNI) 6,66 1,64%
terra-luna
Terra Luna Classic (LUNC) 0,000289 0,02%
litecoin
Litecoin (LTC) 56,14 0,80%
chainlink
Chainlink (LINK) 8,22 0,08%
bitcoin-cash
Bitcoin Cash (BCH) 121,49 1,13%
algorand
Algorand (ALGO) 0,365059 0,58%
matic-network
Polygon (MATIC) 0,792947 1,37%
stellar
Stellar (XLM) 0,115934 1,42%
cosmos
Cosmos Hub (ATOM) 13,25 3,79%
filecoin
Filecoin (FIL) 6,01 3,94%
tron
TRON (TRX) 0,063698 2,40%
ethereum-classic
Ethereum Classic (ETC) 28,94 0,02%
dai
Dai (DAI) 1,04 0,25%
tezos
Tezos (XTZ) 1,50 0,12%
monero
Monero (XMR) 154,88 0,94%