You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2024. It is now read-only.
But it's not valid, because method public init(entropySize: EntropySize = .b256, language: BIP39Language = .English)
generate 12, 15, 18, 21, 24 word. By BIP39 spec
If you write test:
do {
let mnemonic = Mnemonics(entropySize: .b192, language: .english)
let mnemonic2 = try Mnemonics(mnemonic.string, language: .english)
} catch let error {
print(error) // web3swift.Mnemonics.EntropyError.invalidNumberOfWords
}