@aztec/aztec.js
The account
module provides utilities for managing accounts. The AccountManager class
allows to deploy and register a fresh account, or to obtain a Wallet
instance out of an account
already deployed. Use the @aztec/accounts
package to load default account implementations that rely
on ECDSA or Schnorr signatures.
Interfaces
Type Aliases
Salt
Ƭ Salt: Fr
| number
| bigint
A contract deployment salt.
Functions
getAccountContractAddress
▸ getAccountContractAddress(accountContract
, secret
, salt
): Promise
<AztecAddress
>
Compute the address of an account contract from secret and salt.
Parameters
Name | Type |
---|---|
accountContract | AccountContract |
secret | Fr |
salt | Fr |
Returns
Promise
<AztecAddress
>