DEV Community

ishwar
ishwar

Posted on

1 2

what is bip39?

BIPs : This BIP describes the implementation of a mnemonic code or mnemonic sentence - a group of easy to remember words - for the generation of deterministic wallets.
The English-language wordlist for the BIP39 standard has 2048 words, so if the phrase contained only 12 random words, the number of possible combinations would be 204⁸¹² = ²¹³² and the phrase would have 132 bits of security. Actual security of a 12-word BIP39 seed phrase is only 128 bits.
Generally a seed phrase only works with the same wallet software that created it. If storing for a long period of time it's a good idea to write the name of the wallet too.

BIP39: Mnemonic code for generating deterministic keys , BIP39 - used to manage your recovery seed and recovery words. Abstract. This BIP describes the implementation of a mnemonic code or mnemonic sentence - a group of easy to remember words - for the generation of deterministic wallets. It consists of two parts: generating the mnemonic, and converting it into a binary seed. Example: let bip39 = require("bip39");

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (1)

Collapse
 
bgadrian profile image
Adrian B.G.

I came across this algorithm when I was learning about blockchains. To learn it I wrote a Go implementation, is a pretty cool algorithm and simple github.com/bgadrian/go-mnemonic

Basically you have 2048 simple words in a dictionary. Each line has one word. When you type a password like "about zoo" we look in the dictionary and translate it to "4 2048", which are the lines of the words in the dictionary. With these numbers you can create "stuff", as seeds for random numbers or private keys.

You can read the original paper here github.com/bitcoin/bips/blob/maste...

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more