Skip to content

sgns::crypto::bip39::Mnemonic

#include <mnemonic.hpp>

Public Functions

Name
outcome::result< Mnemonic > parse(std::string_view phrase)
parse mnemonic from phrase

Public Attributes

Name
std::vector< std::string > words
std::string password

Public Functions Documentation

function parse

static outcome::result< Mnemonic > parse(
    std::string_view phrase
)

parse mnemonic from phrase

Parameters:

  • phrase valid utf8 list of words from bip-39 word list

Return: Mnemonic instance

Public Attributes Documentation

variable words

std::vector< std::string > words;

variable password

std::string password;

Updated on 2026-03-04 at 13:10:43 -0800