Creates an instance of SchnorrMultikey.
The parameters to create the multikey
Optional
keys?: SchnorrKeyPairReadonly
controllerReadonly
idStatic
Readonly
typeConvert a verification method to a multikey.
The verification method to convert.
Multikey instance.
Get the full id of the multikey
The full id of the multikey
Constructs an instance of Cryptosuite from the current Multikey instance.
Optional
cryptosuite: "bip340-jcs-2025" | "bip340-rdfc-2025" = 'bip340-jcs-2025'Convert the multikey to a verification method.
The verification method.
Verify a schnorr signature.
Signature for verification.
Data for verification.
Optional
opts: CryptoOptionsIf the signature is valid against the public key.
Verify an ecdsa signature.
Signature for verification.
Data for verification.
If the signature is valid against the public key.
Static
fromCreates a Multikey
instance from a private key
The parameters to create the multikey
The new multikey instance
Static
fromCreates a Multikey
instance from a public key
The parameters to create the multikey
The new multikey instance
Static
fromCreates a Multikey
instance from a public key multibase.
See FromPublicKeyMultibaseParams for details.
The new multikey instance.
Static
initializeStatic convenience method to create a new Multikey instance.
The parameters to create the multikey
Optional
keys?: SchnorrKeyPairA new Multikey instance
SchnorrMultikey is an implementation of 2.1.1 Multikey. The publicKeyMultibase value of the verification method MUST be a base-58-btc Multibase encoding of a Multikey encoded secp256k1 public key. The secretKeyMultibase value of the verification method MUST be a Multikey encoding of a secp256k1 secret key. SchnorrMultikey