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,739025 1,24%
aave
Aave (AAVE) 80,65 1,94%
the-graph
The Graph (GRT) 0,252449 3,21%
kusama
Kusama (KSM) 29,41 0,55%
waves
Waves (WAVES) 2,34 0,82%
dash
Dash (DASH) 28,04 0,77%
bitcoin
Bitcoin (BTC) 59.796,37 1,62%
ethereum
Ethereum (ETH) 2.861,65 1,83%
cardano
Cardano (ADA) 0,457646 5,54%
tether
Tether (USDT) 0,939515 0,04%
xrp
XRP (XRP) 0,486729 3,66%
solana
Solana (SOL) 133,30 1,60%
polkadot
Polkadot (DOT) 6,37 0,56%
usd-coin
USDC (USDC) 0,939515 0,04%
dogecoin
Dogecoin (DOGE) 0,143361 0,44%
uniswap
Uniswap (UNI) 7,05 2,27%
terra-luna
Terra Luna Classic (LUNC) 0,000095 0,92%
litecoin
Litecoin (LTC) 77,79 2,46%
chainlink
Chainlink (LINK) 13,18 1,42%
bitcoin-cash
Bitcoin Cash (BCH) 445,75 1,96%
algorand
Algorand (ALGO) 0,166515 0,50%
matic-network
Polygon (MATIC) 0,639543 0,89%
stellar
Stellar (XLM) 0,106250 0,59%
cosmos
Cosmos Hub (ATOM) 7,75 0,28%
filecoin
Filecoin (FIL) 5,82 0,24%
tron
TRON (TRX) 0,102707 0,27%
ethereum-classic
Ethereum Classic (ETC) 24,59 0,44%
dai
Dai (DAI) 0,939395 0,13%
tezos
Tezos (XTZ) 0,937983 2,40%
monero
Monero (XMR) 111,12 0,24%