-
Notifications
You must be signed in to change notification settings - Fork 13
add multisig-modules #56
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
Open
quocle108
wants to merge
9
commits into
tetherto:develop
Choose a base branch
from
quocle108:Multisig
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
6b10f22
add multisig-modules
quocle108 c07cb3c
replace USDC by USDT and update readme acording change from multsig-s…
quocle108 054f01c
fixed multiplesig module in SUMMARY
quocle108 aee68ea
Update sdk/multisig-modules/protocol-multisig-safe/api-reference.md
quocle108 a1fc30d
Update sdk/multisig-modules/protocol-multisig-safe/README.md
quocle108 732ef9d
Update sdk/multisig-modules/protocol-multisig-safe/configuration.md
quocle108 6ff23e5
Update sdk/multisig-modules/README.md
quocle108 d129bb3
Update sdk/multisig-modules/protocol-multisig-safe/usage.md
quocle108 eb05c3a
Merge branch 'develop' into Multisig
gatteo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,69 @@ | ||||||||||||||
| # Multisig Modules | ||||||||||||||
|
|
||||||||||||||
| Overview of WDK Multisig Modules | ||||||||||||||
|
|
||||||||||||||
| The Wallet Development Kit (WDK) provides multisig modules that enable secure multi-party wallet management. These modules allow multiple signers to control shared wallets with customizable approval thresholds. | ||||||||||||||
|
|
||||||||||||||
| ## Why Multisig? | ||||||||||||||
|
|
||||||||||||||
| Multisig (multi-signature) wallets require multiple parties to approve transactions before execution. This provides: | ||||||||||||||
|
|
||||||||||||||
| * **Enhanced Security**: No single point of failure - multiple keys required | ||||||||||||||
| * **Team Control**: Perfect for companies, DAOs, and shared treasuries | ||||||||||||||
| * **Approval Workflows**: Configurable thresholds | ||||||||||||||
| * **Accountability**: Full audit trail of who approved what | ||||||||||||||
|
|
||||||||||||||
| ## Available Modules | ||||||||||||||
|
|
||||||||||||||
| | Module | Blockchain | Status | Documentation | | ||||||||||||||
| | --- | --- | --- | --- | | ||||||||||||||
| | @tetherto/wdk-protocol-multisig-safe | EVM | ✅ Ready | [Documentation](protocol-multisig-safe/README.md) | | ||||||||||||||
|
|
||||||||||||||
| ## Module Features | ||||||||||||||
|
|
||||||||||||||
| ### Standard Features | ||||||||||||||
|
|
||||||||||||||
| All multisig modules share these core features: | ||||||||||||||
|
|
||||||||||||||
| * **Multi-Owner Management**: Add, remove, and swap owners | ||||||||||||||
| * **Threshold Configuration**: Set required approval count | ||||||||||||||
| * **Propose/Approve/Execute**: Standard multisig workflow | ||||||||||||||
| * **Transaction Tracking**: View pending and historical transactions | ||||||||||||||
| * **Message Signing**: Sign and verify messages with multisig approval (EIP-1271) | ||||||||||||||
|
|
||||||||||||||
| ### Account Abstraction Features | ||||||||||||||
|
|
||||||||||||||
| Modules with ERC-4337 support include: | ||||||||||||||
|
|
||||||||||||||
| * **Gasless Transactions**: Pay fees in ERC-20 tokens (e.g., USDT) | ||||||||||||||
| * **Sponsored Mode**: Completely gas-free transactions | ||||||||||||||
| * **Bundled Operations**: Multiple approvals in single transaction | ||||||||||||||
|
|
||||||||||||||
| ## Getting Started | ||||||||||||||
|
|
||||||||||||||
| To get started with WDK multisig modules, follow these steps: | ||||||||||||||
|
|
||||||||||||||
| 1. Get up and running quickly with our [Quick Start Guide](/start-building/nodejs-bare-quickstart) | ||||||||||||||
| 2. Choose the module that best fits your needs from the table above | ||||||||||||||
| 3. Check specific documentation for the module you wish to use | ||||||||||||||
|
Comment on lines
+46
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
|
|
||||||||||||||
| ## Next Steps | ||||||||||||||
|
|
||||||||||||||
| **Protocol Multisig Safe** | ||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ihsraham could you add links to these? |
||||||||||||||
|
|
||||||||||||||
| Safe Protocol multisig with ERC-4337 account abstraction | ||||||||||||||
|
|
||||||||||||||
| **Node.js Quickstart** | ||||||||||||||
|
|
||||||||||||||
| Get started with WDK in a Node.js environment | ||||||||||||||
|
|
||||||||||||||
| **Concepts** | ||||||||||||||
|
|
||||||||||||||
| Learn about key concepts like Account Abstraction | ||||||||||||||
|
|
||||||||||||||
| --- | ||||||||||||||
|
|
||||||||||||||
| ### Need Help? | ||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
| {% include "../../.gitbook/includes/support-cards.md" %} | ||||||||||||||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # protocol-multisig-safe | ||
|
|
||
| Overview of the @tetherto/wdk-protocol-multisig-safe module | ||
|
|
||
| A simple and secure package to manage Safe Protocol multisig wallets with ERC-4337 account abstraction for EVM-compatible blockchains. This package provides a clean API for creating, managing, and interacting with multisig wallets using BIP-39 seed phrases and the Safe smart contract infrastructure. | ||
|
|
||
| ## Features | ||
|
|
||
| * **Safe Protocol Integration**: Full support for Safe (formerly Gnosis Safe) multisig wallets | ||
| * **ERC-4337 Account Abstraction**: Gasless transactions via paymasters and bundlers | ||
| * **Paymaster Modes**: Support for both ERC-20 paymaster and sponsored (gasless) modes | ||
| * **Per-Transaction Override**: Switch between ERC-20 and sponsored mode per transaction | ||
| * **Multi-Owner Management**: Add, remove, swap owners and change threshold | ||
| * **Propose/Approve/Execute**: Standard multisig transaction workflow | ||
| * **Message Signing**: EIP-191 compliant multisig message signing | ||
| * **Deterministic Addresses**: Predictable Safe addresses from owner configuration | ||
| * **Auto-Execute**: Automatically execute transactions when threshold is met | ||
| * **TypeScript Support**: Full TypeScript definitions included | ||
| * **Memory Safety**: Secure private key management with memory-safe implementation | ||
|
|
||
| ## Supported Networks | ||
|
|
||
| This package works with any EVM-compatible network that supports: | ||
|
|
||
| * **Ethereum**: Mainnet, Sepolia | ||
| * **Polygon**: Mainnet, Mumbai | ||
| * **Arbitrum**: One, Nova | ||
| * **Optimism**: Mainnet, Goerli | ||
| * **And more**: Any chain with Safe Protocol and ERC-4337 infrastructure | ||
|
|
||
| ## Next Steps | ||
|
|
||
| **Node.js Quickstart** | ||
|
|
||
| Get started with WDK in a Node.js environment | ||
|
|
||
| **WDK Multisig Safe Configuration** | ||
|
|
||
| Get started with WDK's Multisig Safe configuration | ||
|
|
||
| **WDK Multisig Safe API** | ||
|
|
||
| Get started with WDK's Multisig Safe API | ||
|
|
||
| **WDK Multisig Safe Usage** | ||
|
|
||
| Get started with WDK's Multisig Safe usage | ||
|
|
||
| --- | ||
|
|
||
| ### Need Help? | ||
|
|
||
| {% include "../../../.gitbook/includes/support-cards.md" %} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.