Class: EcdsaRAccountContract
ecdsa.EcdsaRAccountContract
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
-
EcdsaRBaseAccountContract
↳
EcdsaRAccountContract
Constructors
constructor
• new EcdsaRAccountContract(signingPrivateKey
): EcdsaRAccountContract
Parameters
Name | Type |
---|---|
signingPrivateKey | Buffer |
Returns
Overrides
EcdsaRBaseAccountContract.constructor
Methods
getAuthWitnessProvider
▸ getAuthWitnessProvider(_address
): AuthWitnessProvider
Parameters
Name | Type |
---|---|
_address | CompleteAddress |
Returns
AuthWitnessProvider
Inherited from
EcdsaRBaseAccountContract.getAuthWitnessProvider
getContractArtifact
▸ getContractArtifact(): Promise
<ContractArtifact
>
Returns
Promise
<ContractArtifact
>
Overrides
EcdsaRBaseAccountContract.getContractArtifact
getDeploymentFunctionAndArgs
▸ getDeploymentFunctionAndArgs(): Promise
<{ constructorArgs
: Buffer
[] ; constructorName
: string
= 'constructor' }>
Returns
Promise
<{ constructorArgs
: Buffer
[] ; constructorName
: string
= 'constructor' }>
Inherited from
EcdsaRBaseAccountContract.getDeploymentFunctionAndArgs
getInterface
▸ getInterface(address
, nodeInfo
): AccountInterface
Parameters
Name | Type |
---|---|
address | CompleteAddress |
nodeInfo | NodeInfo |
Returns
AccountInterface
Inherited from
EcdsaRBaseAccountContract.getInterface