Class: SchnorrAccountContract
schnorr.SchnorrAccountContract
Account contract that authenticates transactions using Schnorr signatures verified against a Grumpkin public key stored in an immutable encrypted note.
Hierarchy
-
↳
SchnorrAccountContract
Constructors
constructor
• new SchnorrAccountContract(signingPrivateKey
): SchnorrAccountContract
Parameters
Name | Type |
---|---|
signingPrivateKey | Fq |
Returns
Overrides
DefaultAccountContract.constructor
Properties
signingPrivateKey
• Private
signingPrivateKey: Fq
Methods
getAuthWitnessProvider
▸ getAuthWitnessProvider(_address
): AuthWitnessProvider
Parameters
Name | Type |
---|---|
_address | CompleteAddress |
Returns
AuthWitnessProvider
Overrides
DefaultAccountContract.getAuthWitnessProvider
getContractArtifact
▸ getContractArtifact(): ContractArtifact
Returns
ContractArtifact
Inherited from
DefaultAccountContract.getContractArtifact
getDeploymentArgs
▸ getDeploymentArgs(): Fr
[]
Returns
Fr
[]
Overrides
DefaultAccountContract.getDeploymentArgs
getInterface
▸ getInterface(address
, nodeInfo
): AccountInterface
Parameters
Name | Type |
---|---|
address | CompleteAddress |
nodeInfo | NodeInfo |
Returns
AccountInterface