From 78e3e1336841c643f395b869792ccb1d2f17899f Mon Sep 17 00:00:00 2001 From: Tanay Pant Date: Thu, 13 Jun 2024 08:41:20 +0200 Subject: [PATCH] improvement: refactor the safe modules page --- pages/advanced/smart-account-modules.mdx | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/pages/advanced/smart-account-modules.mdx b/pages/advanced/smart-account-modules.mdx index ac014c96..a15986b7 100644 --- a/pages/advanced/smart-account-modules.mdx +++ b/pages/advanced/smart-account-modules.mdx @@ -8,22 +8,26 @@ Safe Modules add custom features to Safe contracts. They are smart contracts tha Safe Modules can include daily spending allowances, amounts that can be spent without the approval of other owners, recurring transactions modules, and standing orders performed on a recurring date. For example, paying your rent or social recovery modules may allow you to recover a Safe if you lose access to owner accounts. + + Safe Modules can be a security risk since they can execute arbitrary + transactions. Only add trusted and audited modules to a Safe. A malicious + module can take over a Safe. + + ![diagram-safe-modules](../../assets/diagram-safe-modules.png) +## Official Safe Modules + +These are audited Safe Modules built and maintained by the Safe team. The [safe-modules](https://github.com/safe-global/safe-modules) repository contains the collection of the Official Safe Modules. + +For example, the 4337 module, the allowance module, and the passkeys module. + ## How to create a Safe Module A great way to understand how Safe Modules work is by creating one. An excellent place to start is [Safe Modding 101: Create your own Safe Module](https://www.youTube.com/watch?v=nmDYc9PlAic). -## Examples - -1. [Safe Modules](https://github.com/safe-global/safe-modules) -2. [Zodiac-compliant modules](https://zodiac.wiki/index.php%3Ftitle=Introduction:_Zodiac_Protocol.html#Modules) -3. [Pimlico](https://docs.pimlico.io/permissionless/how-to/accounts/use-safe-account) +## Other examples - - Safe Modules can be a security risk since they can execute arbitrary - transactions. Only add trusted and audited modules to a Safe. A malicious - module can take over a Safe. - +1. [Zodiac-compliant modules](https://zodiac.wiki/index.php%3Ftitle=Introduction:_Zodiac_Protocol.html#Modules)