RustEventVerifier class
An implementation of EventVerifier that uses Rust for event verification.
This class provides a bridge between Dart and Rust, allowing for efficient verification of Nostr events using Rust's performance capabilities. The rust code runs in a separate isolate further increasing the the smoothness of the main thread.
- Implemented types
Constructors
- RustEventVerifier()
- Creates a new instance of RustEventVerifier and initializes the Rust library
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
-
verify(
Nip01Event event) → Future< bool> -
Verifies a Nostr event using the Rust implementation.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited