Skip to content
mazezenPublic

About

Go implementation of the BIP-39 specification for mnemonic code generation

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

go-bip39

A golang implementation of the BIP0039 spec for mnemonic seeds

Note: This is a preserved copy of the original github.com/everstake/bip39 repository

Install

go get -u github.com/mazezen/go-bip39

Example

package 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)
}

Credits

Wordlists are from the bip39 spec

About

Go implementation of the BIP-39 specification for mnemonic code generation

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages