This feature is experimental. Reach out to us if you have any issues or feature requests.
Account Creation
When creating an account instance, you will need to provide the factory data you’ve used to deploy the account.Init Data
The factory data depends on the SDK you’ve used to create an account, as well as on the account configuration itself (account type and version, and installed modules). Reach out to us if you need help generating the init data for your account configuration.Account Address
You will also need to provide the address of the account you’re using. The SDK uses this for cross-reference to make sure it understands your account configuration.Intent Executor
Unless you were using the Rhinestone SDK V0 before, the accounts you have won’t have the Rhinestone Intent Executor installed.Example
To reuse an existing account, pass aninitData
when creating an account:
Legacy Modules
In most cases, an existing account would probably have the legacy modules installed. In this case, you need to explicitly specify the module address when setting theowners
.
Deployments
On the chains where the account is not yet deployed, you will need to explicitly call thedeploy
function. This will use the provided init data and deploy the account to the same address.
This is done once per chain, per account.
This will be done using an ERC-4337 UserOp (unless you have the intent executor as part of the init data).
To deploy an account: