A golang implementation of the BIP0039 spec for mnemonic seeds
Note: This is a preserved copy of the original github.com/everstake/bip39 repository
go get -u github.com/mazezen/go-bip39package main
import (
"github.com/mazezen/go-bip39"
"fmt"
)
func main(){
// Generate a mnemonic for memorization or user-friendly seeds
entropy, _ := go_bip39.NewEntropy(256)
mnemonic, _ := go_bip39.NewMnemonic(entropy)
// Display mnemonic and keys
fmt.Println("Mnemonic: ", mnemonic)
}Wordlists are from the bip39 spec