Usage/Acta billings
Deploy account on-chain
Deployment Steps
Create wagmi config
In the first step, create a Wagmi configuration file.
Projects built with Rainbowkit can utilize Rainbowkit's default Wagmi configuration.
Precompute smart wallet address
Use the useActaAccount()
hook to precompute the smart wallet address by passing the required parameters. Mock validators can be used for development and testing, but for production, please contact us to obtain custom validators.
The useSalt()
hook requests a signature to generate a unique salt, which is then used to precompute the smart wallet address
Deploy smart account on-chain
Call the deployAccount()
method to deploy the smart account on-chain.
👏 Congratulations! Your smart account has been successfully deployed on-chain.