Versions in this module Expand all Collapse all v1 v1.0.1 Aug 4, 2026 Changes in this version + const DefaultVersion + const NetworkBitcoin + const NetworkBitcoinCash + const NetworkBitcoinSV + const NetworkDash + const NetworkLitecoin + const NetworkRavencoin + const Strength132 + const Strength264 + const Version2FA + const Version2FASegwit + const VersionSegwit + const VersionStandard + const WordlistChineseSimplified + const WordlistEnglish + const WordlistJapanese + const WordlistPortuguese + const WordlistSpanish + func V1Decode(mnemonic string) ([]byte, error) + func V1Encode(entropyHex string) (string, error) + func V1GenerateMnemonic() (string, error) + func V1MnemonicToSeed(mnemonic string) ([]byte, error) + func V1NewMnemonic(entropy []byte) (string, error) + func V1ValidateMnemonic(mnemonic string) bool + func V2CheckVersion(mnemonic string, v Version) error + func V2EntropyFromMnemonic(mnemonic string) ([]byte, error) + func V2GenerateMnemonic(version Version, strength Strength, skipValidBip39 bool) (string, error) + func V2MnemonicToSeed(mnemonic, passphrase string) ([]byte, error) + func V2NewMnemonic(entropy []byte) (string, error) + func V2SetWordlistLanguage(lang WordlistLanguage) + func V2ValidateMnemonic(mnemonic string, version Version) bool + type Address = network.Address + func V1FromMnemonic(mnemonic string, net Network, change bool, count int, compressed bool) ([]Address, error) + func V1FromSeed(entropy []byte, net Network, change bool, count int, compressed bool) ([]Address, error) + func V1FromWIF(wifStr string, net Network, compressed bool) (*Address, error) + func V2FromMnemonic(mnemonic, passphrase string, net Network, change bool, count int, ...) ([]Address, error) + func V2FromSeed(seed []byte, version Version, net Network, change bool, count int, ...) ([]Address, error) + func V2FromWIF(wifStr string, version Version, net Network) (*Address, error) + type Network = network.Network + type Strength = electrumv2.Strength + type Version = electrumv2.Version + func V2DetectVersion(mnemonic string) Version + type WordlistLanguage = electrumv2.WordlistLanguage v1.0.0 Aug 4, 2026