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 274 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) 324,93 0,49%
compound-governance-token
Compound (COMP) 277,27 5,35%
dash
Dash (DASH) 173,80 4,98%
zcash
Zcash (ZEC) 128,59 4,71%
yearn-finance
yearn.finance (YFI) 30.941,67 4,11%
bitcoin
Bitcoin (BTC) 56.860,72 3,22%
ethereum
Ethereum (ETH) 3.559,87 7,01%
tether
Tether (USDT) 0,858275 0,08%
cardano
Cardano (ADA) 1,88 3,75%
xrp
XRP (XRP) 0,978434 4,32%
dogecoin
Dogecoin (DOGE) 0,220131 4,22%
polkadot
Polkadot (DOT) 38,28 7,50%
usd-coin
USD Coin (USDC) 0,858275 0,30%
uniswap
Uniswap (UNI) 23,19 3,77%
bitcoin-cash
Bitcoin Cash (BCH) 553,52 4,01%
chainlink
Chainlink (LINK) 23,62 6,04%
matic-network
Polygon (MATIC) 1,31 3,32%
solana
Solana (SOL) 147,99 10,27%
litecoin
Litecoin (LTC) 177,72 9,89%
stellar
Stellar (XLM) 0,334680 3,70%
ethereum-classic
Ethereum Classic (ETC) 47,71 4,94%
eos
EOS (EOS) 4,15 8,25%
tron
TRON (TRX) 0,088684 2,70%
filecoin
Filecoin (FIL) 57,50 6,00%
aave
Aave (AAVE) 271,64 4,09%
monero
Monero (XMR) 224,37 2,48%
dai
Dai (DAI) 0,858275 0,35%
tezos
Tezos (XTZ) 6,04 3,72%
cosmos
Cosmos (ATOM) 31,04 3,72%
algorand
Algorand (ALGO) 1,54 4,12%