🧩Modules
Last updated
Last updated
Modules are a concept designed at the inception of Safe's Smart Account in 2018. This modular architecture allows Safe Smart Accounts to add additional features over time without requiring users to migrate to a new account.
To draw an analogy, it’s like Chrome and its extensions. With extensions, Chrome can connect you to the Web3 world, block annoying ads, check for spelling errors, and provide security tips. One of the advantages of Chrome’s development is its powerful and comprehensive extension ecosystem. You either use Google to enjoy a complete and timely updated extension experience or use a bare-bones browser.
In Safe, Modules serve a similar function to extensions. The Smart Account created by the user is essentially a contract account, which means it can be programmed to have various functionalities. This includes executing transactions according to the rules of the Module. A Module is a new smart contract associated with the Safe Account, containing highly customizable logic determined by the Module’s developer. It can even allow transactions to be executed without meeting the threshold of member approvals.
Once installed, they enable a variety of additional functionalities for multisig accounts, including but not limited to:
Gas Payment - Use any type of token or even credit cards to pay gas fees.
zkLogin - Log in to your multisig account using various social media accounts, making it as simple as Web2.
XAccount - Ensure your address remains consistent across multiple chains.
Vesting Pool - Make your multisig account a more secure reward pool, releasing rewards to users.