Nip13 class
Constructors
- Nip13()
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 Methods
-
calculateCommitment(
String eventId) → int -
checkDifficulty(
String eventId, int targetDifficulty) → bool -
countLeadingZeroBits(
String hex) → int -
getDifficulty(
String eventId) → int -
getTargetDifficultyFromEvent(
Nip01Event event) → int? -
mineEvent(
Nip01Event event, int targetDifficulty, {int? maxIterations}) → Nip01Event -
validateEvent(
Nip01Event event) → bool