Skip to content
forked from pengpengliu/BIP39

Pure Swift implementation of Bitcoin BIP39

License

Notifications You must be signed in to change notification settings

hitman-gdg/BIP39

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BIP39

Build Status codecov

Swift implementation of Bitcoin BIP39. #PureSwift

// Generating the mnemonic, defaults to english wordlist and 128-bits of entropy
let random = Mnemonic()

// Initialize with seed phrase and passphrase
let mnemonic = Mnemonic(phrase: "rally speed budget undo purpose orchard hero news crunch flush wine finger".components(separatedBy: " "), passphrase: "")

// From mnemonic to seed
let seed = mnemonic.seed

License

Code is under the BSD 2-clause "Simplified" License. Documentation is under the Creative Commons Attribution license.

About

Pure Swift implementation of Bitcoin BIP39

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Swift 100.0%