/safeswap

A proof-of-concept module that allows token swaps directly from your Safe wallet.

Primary LanguageSolidity

A Safe Module that allows users to submit a token swap request that may be executed by anyone. The tokens are only ever transferred to and from their Safe wallet directly.

The SwapRequest can then be fulfilled by MEV Searchers as part of their trading strategy.

Please see DESIGN.md for more details.

curl -L https://foundry.paradigm.xyz | bash

Then, in a new terminal session or after reloading your PATH, run this to get the latest forge and cast binaries:

foundryup
forge test

This repository is a proof-of-concept, and these contracts have not been audited or been through any formal security review. DO NOT use these contracts in production.