Skip to content

A Safe module that allows a DelegationManager to execute methods on the safe, using the executeFromExecutor method.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE2.md
MIT
LICENSE-MIT.md
Notifications You must be signed in to change notification settings

MetaMask/delegator-safe-module

Warning

These contracts have not been audited.
Do not use on production mainnet chains.
Use only for testing or development purposes at your own risk.

DeleGator Safe Module

A Safe module that enables delegation capabilities via the Delegation Framework.

Documentation

Installation

git clone https://github.com/your-username/delegator-safe-module.git
cd delegator-safe-module
forge install

Development

# Build
forge build

# Test
forge test

# Coverage
cd script && ./coverage

Deployment

Set environment variables and deploy:

export DELEGATION_MANAGER=0x...
export SAFE_ADDRESS=0x...
export DEPLOYER_PRIVATE_KEY=0x...
export SALT="your-salt"  # Required: use a salt shorter than 32 bytes

forge script script/DeployDeleGatorModule.s.sol --rpc-url $RPC_URL --broadcast

Related Projects

License

MIT AND Apache-2.0

About

A Safe module that allows a DelegationManager to execute methods on the safe, using the executeFromExecutor method.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE2.md
MIT
LICENSE-MIT.md

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •