NostrUtilsBase class abstract

Implementers

Constructors

NostrUtilsBase()

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

consistent64HexChars(String input) String
countDifficultyOfHex(String hexString) int
decodeBech32(String bech32String) List<String>
decodeNeventToMap(String bech32) Map<String, dynamic>
decodeNprofileToMap(String bech32) Map<String, dynamic>
encodeBech32(String hex, String hrp) String
encodeNevent({required String eventId, required String pubkey, List<String> userRelays = const []}) String
encodeNProfile({required String pubkey, List<String> userRelays = const []}) String
hexEncodeString(String input) String
isValidNip05Identifier(String identifier) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pubKeyFromIdentifierNip05({required String internetIdentifier}) Future<String>
random64HexChars() String
toString() String
A string representation of this object.
inherited
verifyNip05({required String internetIdentifier, required String pubKey}) Future<bool>

Operators

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