Deploy your Smart Wallet
You can deploy Smart Wallets using aarcSDK.
Parameters
deployWallet
accepts the following parameters:
owner
: The address which will be the owner of the Smart Wallet.walletType
: The provider you are looking to deploy your Smart Wallet with. Check the supported wallet providers here.signer
: The signer object from ethers.deploymentWalletIndex
[OPTIONAL]: An EOA can deploy multiple wallets. You can specify the index.
NOTE:
If the wallet corresponding to the provided owner address (
EOA_ADDRESS
) and index (deploymentWalletIndex
) is already deployed, the deployment process will not occur.
Deploy Smart Wallet
Output
This will be the following output you will receive after deploying a Smart Wallet:
NOTE:
message
only returns if the smart wallet is already deployed or an error occurred.
Last updated