Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make official safe modules discoverable #501

Merged
merged 4 commits into from
Jun 14, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 18 additions & 12 deletions pages/advanced/smart-account-modules.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,28 @@ 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)

## How to create a Safe Module
## Examples

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).
### Official Safe Modules

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

## Examples
For example, the 4337 module, the allowance module, and the passkeys module.
tanay1337 marked this conversation as resolved.
Show resolved Hide resolved

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)
### Community Safe Modules

<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)

## 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' />
Loading