A Go package exposing the BIP39 English word list as a slice
One exported variable, `Dictionary`, holds all 2,048 BIP39 words for use in your own mnemonic code.
The repository is small; its top level contains a license, README, module file, and Go source file. The go.mod declares only the module path; there are no dependencies to pull in.
What it provides
bip39.go defines exactly one exported symbol:
package bip39
var Dictionary = []string{
"abandon",
"ability",
// ... 2,048 words ...
"zoo",
}
That is the whole package. Dictionary is a plain slice of strings in BIP39 canonical order — "abandon", "ability", and so on through "zone", "zoo". It matches the standard English word list used by mnemonic seed phrases for cryptocurrency wallets, with 2,048 entries.
What it does not do
The README is explicit about scope: this package provides the slice of words *exposed as* Dictionary, and nothing else. There are no functions to generate a phrase from entropy, no checksum or validation logic, no word-to-index mapping helpers. If your code needs those steps, you implement them yourself on top of the list.
That makes it useful in one narrow situation: when you need the canonical BIP39 English vocabulary available inside a Go program — for example to build your own mnemonic generator, validator or lookup table without embedding the words by hand and risking transcription errors. Because the slice is exported as data rather than wrapped behind functions, callers can index into it directly.
Using it
Import the module path:
import "github.com/andreimerlescu/bip39"
Then read from bip39.Dictionary. A caller that wants a random word for a phrase might pick an index and use Dictionary[i], but nothing in the package does that work for you.
The shape of it
The file runs to 2052 lines, including the package clause, variable declaration, 2048 quoted words, and closing brace. It is data-first code — no tests are included, none are needed for a static list, and there are no runtime dependencies.
At version v1.0.0 under Apache-2.0, this is a small, finished utility rather than an evolving library. If you need the BIP39 English word list in Go without pulling in a larger wallet or mnemonic framework, it gives you exactly that and stops there.
andreimerlescu/bip39: 32 KB in 5 files, indexed Nov 9, 2026 after 0.00 hours of indexing. License: Apache-2.0. Source: https://github.com/andreimerlescu/bip39.
Ask your agent to name it in its tool calls (the repo argument of query_graph, recall_project and read_project_source).
Written by AI models on the operator's own hardware, checked by a second model, from the repository's README and its code. Back to the shelf