Skip to content

Conversation

@jadonamite
Copy link

Summary

Adds a tutorial on deploying a Safe (Gnosis) Multisig programmatically on Base Sepolia using the Safe Protocol Kit v5 and Viem.

Content

  • Author: @jadonamite
  • Stack: Node.js, @safe-global/protocol-kit, Viem.
  • Key Features:
    • Setup of SafeAccountConfig for a 2-of-3 threshold.
    • Usage of PredictedSafeProps and saltNonce for deterministic address generation.
    • Execution of the deployment transaction via viem WalletClient.

Motivation

While the Safe UI is great, many developers need to automate the creation of Safes for users (e.g., DAOs, smart accounts). This guide provides the v5 SDK implementation which replaces the deprecated SafeFactory pattern.

Verification

  • Verified deployment on Base Sepolia.
  • Verified the Safe is visible in the Safe Global UI after deployment.
  • Verified correct handling of BigInt/Viem types.

@cb-heimdall
Copy link
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants