StaticfromStaticfromReturns the raw key bytes.
Returns the raw key bytes (alias for toData).
Returns the hex representation of the key.
Verify a signature using the default "substrate" context.
The 64-byte signature
The message that was signed
true if the signature is valid
Verify a signature using a custom context.
Note: The @scure/sr25519 library uses a hardcoded "substrate" context. Custom context is accepted for API compatibility but only signatures created with "substrate" context will verify correctly.
The 64-byte signature
The message that was signed
The signing context (only "substrate" is supported)
true if the signature is valid
Get string representation.
Sr25519PublicKey - Public key for Schnorr signatures over Ristretto25519.
This is the signature scheme used by Polkadot/Substrate.