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 701 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,996510 € 3,07%
aave
Aave (AAVE) 79,50 € 3,05%
the-graph
The Graph (GRT) 0,118056 € 7,36%
kusama
Kusama (KSM) 33,26 € 5,49%
waves
Waves (WAVES) 2,44 € 7,49%
dash
Dash (DASH) 57,09 € 1,33%
bitcoin
Bitcoin (BTC) 21.103,12 € 2,24%
ethereum
Ethereum (ETH) 1.506,88 € 2,12%
cardano
Cardano (ADA) 0,361979 € 2,12%
tether
Tether (USDT) 0,923469 € 0,03%
xrp
XRP (XRP) 0,367179 € 3,15%
solana
Solana (SOL) 21,54 € 4,22%
polkadot
Polkadot (DOT) 6,21 € 1,93%
usd-coin
USD Coin (USDC) 0,923341 € 0,01%
dogecoin
Dogecoin (DOGE) 0,085351 € 3,37%
uniswap
Uniswap (UNI) 6,34 € 5,49%
terra-luna
Terra Luna Classic (LUNC) 0,000171 € 3,36%
litecoin
Litecoin (LTC) 88,77 € 2,42%
chainlink
Chainlink (LINK) 6,44 € 3,26%
bitcoin-cash
Bitcoin Cash (BCH) 122,52 € 3,62%
algorand
Algorand (ALGO) 0,239698 € 3,47%
matic-network
Polygon (MATIC) 1,11 € 3,32%
stellar
Stellar (XLM) 0,083580 € 3,04%
cosmos
Cosmos Hub (ATOM) 13,23 € 1,84%
filecoin
Filecoin (FIL) 4,87 € 4,35%
tron
TRON (TRX) 0,058569 € 2,57%
ethereum-classic
Ethereum Classic (ETC) 20,95 € 4,44%
dai
Dai (DAI) 0,923550 € 0,12%
tezos
Tezos (XTZ) 1,08 € 1,22%
monero
Monero (XMR) 153,41 € 3,99%