Class: EcdsaKAccountContract
ecdsa.EcdsaKAccountContract
Account contract that authenticates transactions using ECDSA signatures verified against a secp256k1 public key stored in an immutable encrypted note.
Hierarchy
-
↳
EcdsaKAccountContract
Constructors
constructor
• new EcdsaKAccountContract(signingPrivateKey
): EcdsaKAccountContract
Parameters
Name | Type |
---|---|
signingPrivateKey | Buffer |
Returns
Overrides
DefaultAccountContract.constructor
Properties
signingPrivateKey
• Private
signingPrivateKey: Buffer
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(): Buffer
[]
Returns
Buffer
[]
Overrides
DefaultAccountContract.getDeploymentArgs
getInterface
▸ getInterface(address
, nodeInfo
): AccountInterface
Parameters
Name | Type |
---|---|
address | CompleteAddress |
nodeInfo | NodeInfo |
Returns
AccountInterface