Nip06 class abstract
An abstract class that provides methods for working with NIP-06, a Nostr protocol for generating private keys from seed words, generating seed words, and validating seed words.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateSeedWords(
) → String - Generates a string of seed words that can be used to generate a private key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
privateKeyFromSeedWords(
String mnemonic, {String passphrase = ''}) → String - Returns a private key generated from the specified mnemonic seed words and optional passphrase.
-
toString(
) → String -
A string representation of this object.
inherited
-
validateWords(
String words) → bool -
Returns
true
if the specified string of seed words is valid, andfalse
otherwise.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited