Skip to main content

restore

Function restore 

Source
pub async fn restore(npub: String) -> Result<Account, String>
Expand description

The account the config names by npub, as it stands at startup: able to sign if the keyring holds what it signs with. A keyring that can’t be asked leaves the account read-only rather than signed out.