Function to deterministically derive the deployed Abstract Global Wallet smart account address from the initial signer account.
Use the getSmartAccountAddressFromInitialSigner
function to get the smart contract address of the Abstract Global Wallet
that will be deployed given an initial signer account.
This is useful if you need to know what the address of the Abstract Global Wallet smart contract will be before it is deployed.
The EOA account/signer that will be the owner of the AGW smart contract wallet.
A public client connected to the desired
chain (e.g. abstractTestnet
).
Returns a Hex
: The address of the AGW smart contract that will be deployed.
The smart account address is derived from the initial signer using the following process:
This function returns the determined AGW smart contract address
using the Contract Deployer’s
getNewAddressForCreate2
function.
Function to deterministically derive the deployed Abstract Global Wallet smart account address from the initial signer account.
Use the getSmartAccountAddressFromInitialSigner
function to get the smart contract address of the Abstract Global Wallet
that will be deployed given an initial signer account.
This is useful if you need to know what the address of the Abstract Global Wallet smart contract will be before it is deployed.
The EOA account/signer that will be the owner of the AGW smart contract wallet.
A public client connected to the desired
chain (e.g. abstractTestnet
).
Returns a Hex
: The address of the AGW smart contract that will be deployed.
The smart account address is derived from the initial signer using the following process:
This function returns the determined AGW smart contract address
using the Contract Deployer’s
getNewAddressForCreate2
function.