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 889 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,777051 5,31%
aave
Aave (AAVE) 85,94 5,36%
the-graph
The Graph (GRT) 0,273297 9,77%
kusama
Kusama (KSM) 31,57 5,99%
waves
Waves (WAVES) 2,48 4,90%
dash
Dash (DASH) 29,32 2,79%
bitcoin
Bitcoin (BTC) 61.193,70 0,89%
ethereum
Ethereum (ETH) 2.961,27 2,34%
cardano
Cardano (ADA) 0,471659 6,57%
tether
Tether (USDT) 0,938442 0,05%
xrp
XRP (XRP) 0,495576 4,90%
solana
Solana (SOL) 141,03 2,63%
polkadot
Polkadot (DOT) 6,73 5,53%
usd-coin
USDC (USDC) 0,937504 0,00%
dogecoin
Dogecoin (DOGE) 0,153378 6,45%
uniswap
Uniswap (UNI) 7,39 3,60%
terra-luna
Terra Luna Classic (LUNC) 0,000104 8,56%
litecoin
Litecoin (LTC) 80,21 4,27%
chainlink
Chainlink (LINK) 13,96 6,34%
bitcoin-cash
Bitcoin Cash (BCH) 479,70 5,98%
algorand
Algorand (ALGO) 0,178129 6,64%
matic-network
Polygon (MATIC) 0,684403 7,02%
stellar
Stellar (XLM) 0,109064 3,32%
cosmos
Cosmos Hub (ATOM) 8,10 4,25%
filecoin
Filecoin (FIL) 6,23 6,46%
tron
TRON (TRX) 0,104187 0,40%
ethereum-classic
Ethereum Classic (ETC) 26,34 6,61%
dai
Dai (DAI) 0,938442 0,11%
tezos
Tezos (XTZ) 1,01 8,54%
monero
Monero (XMR) 111,51 1,52%