Skip to main content

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

Constructors

constructor

new EcdsaKAccountContract(signingPrivateKey): EcdsaKAccountContract

Parameters

NameType
signingPrivateKeyBuffer

Returns

EcdsaKAccountContract

Overrides

DefaultAccountContract.constructor

Properties

signingPrivateKey

Private signingPrivateKey: Buffer

Methods

getAuthWitnessProvider

getAuthWitnessProvider(_address): AuthWitnessProvider

Parameters

NameType
_addressCompleteAddress

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

NameType
addressCompleteAddress
nodeInfoNodeInfo

Returns

AccountInterface

Inherited from

DefaultAccountContract.getInterface