Skip to content

Commit

Permalink
improvement: refactor the safe modules page
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanay Pant committed Jun 13, 2024
1 parent 5578408 commit 78e3e13
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions pages/advanced/smart-account-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Callout type='error' emoji='‼️'>
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.
</Callout>

![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).

<YouTube embedId='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

<Callout type='error' emoji='‼️'>
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.
</Callout>
1. [Zodiac-compliant modules](https://zodiac.wiki/index.php%3Ftitle=Introduction:_Zodiac_Protocol.html#Modules)

0 comments on commit 78e3e13

Please sign in to comment.