Class: EcdsaKAccountContract
ecdsa.EcdsaKAccountContract
Account contract that authenticates transactions using ECDSA signatures verified against a secp256k1 public key stored in an immutable encrypted note. Eagerly loads the contract artifact
Hierarchy
-
EcdsaKBaseAccountContract
↳
EcdsaKAccountContract
Constructors
constructor
• new EcdsaKAccountContract(signingPrivateKey
): EcdsaKAccountContract
Parameters
Name | Type |
---|---|
signingPrivateKey | Buffer |
Returns
Overrides
EcdsaKBaseAccountContract.constructor
Methods
getAuthWitnessProvider
▸ getAuthWitnessProvider(_address
): AuthWitnessProvider
Parameters
Name | Type |
---|---|
_address | CompleteAddress |
Returns
AuthWitnessProvider
Inherited from
EcdsaKBaseAccountContract.getAuthWitnessProvider
getContractArtifact
▸ getContractArtifact(): Promise
<ContractArtifact
>
Returns
Promise
<ContractArtifact
>
Overrides
EcdsaKBaseAccountContract.getContractArtifact
getDeploymentFunctionAndArgs
▸ getDeploymentFunctionAndArgs(): Promise
<{ constructorArgs
: Buffer
[] ; constructorName
: string
= 'constructor' }>
Returns
Promise
<{ constructorArgs
: Buffer
[] ; constructorName
: string
= 'constructor' }>
Inherited from
EcdsaKBaseAccountContract.getDeploymentFunctionAndArgs
getInterface
▸ getInterface(address
, nodeInfo
): AccountInterface
Parameters
Name | Type |
---|---|
address | CompleteAddress |
nodeInfo | NodeInfo |
Returns
AccountInterface
Inherited from
EcdsaKBaseAccountContract.getInterface