Skip to content

Go implementation of cryptographic entropy mnemonics compatible with Bitcoin wallets.

License

Notifications You must be signed in to change notification settings

ipfn/go-mnemonic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-mnemonic: cryptographic entropy mnemonics

IPFN project IPFN Documentation See COPYING.txt GoDoc Travis CI Coverage Status

Go implementation of the mnemonic seeds as defined in bip39.

Usage

package main

import (
  "fmt"

  "github.com/ipfn/go-mnemonic/mnemonic"
)

func main(){
  entropy, _ := mnemonic.NewEntropy(256)
  mnemonic, _ := mnemonic.New(entropy)

  fmt.Printf("Entropy: %x\n", entropy)
  fmt.Printf("Mnemonic: %s\n", mnemonic)
}

License

See COPYING file for licensing details.

Credits

Source code was forked from tyler-smith/go-bip39.

Wordlists are from the bip39.

Test vectors are from the standard Python BIP0039 implementation from the Trezor team: https://github.com/trezor/python-mnemonic

Project

This source code is part of IPFN – interplanetary functions project.

About

Go implementation of cryptographic entropy mnemonics compatible with Bitcoin wallets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published