Nip19 class

Constructors

Nip19()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

nip19regex RegExp
getter/setter pair

Static Methods

convertBits(List<int> data, int from, int to, bool pad) List<int>
decode(String npub) String
encodeNoteId(String id) String
encode note id
encodePrivateKey(String pubkey) String
encodePubKey(String pubkey) String
encodeSimplePubKey(String pubKey) String
isKey(String hrp, String str) bool
isNip19(String str) bool
isNoteId(String str) bool
isPrivateKey(String str) bool
isPubkey(String str) bool

Constants

NOTEID_LENGTH → const int
NPUB_LENGTH → const int