-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -1,19 +1,39 @@ | ||
# mfer-safe | ||
## MferSafe is inspired by [ApeSafe](https://github.com/banteg/ape-safe), which focuses on interact via Dapp's frontend. | ||
|
||
MferSafe is an Ethereum Transaction Simulator designed for Dapp interactions. | ||
By using MferSafe's browser extension, it will redirect all eth_xx rpc to MferSafe and record all transactions and make state mutation at local, so you can do lots of Dapp interactions seamlessly. | ||
|
||
You can use Dapp seamlessly and it keeps all transactions and state mutation locally. | ||
You can set the account address (ENS is supported) you want to impersonate and view the local transaction pool, inspect each transaction's event log and debug trace. | ||
|
||
How it Works: | ||
If you are using GnosisSafe multisig wallet, you can simulate the local transaction pool as a transaction bundle, and send the bundle via MultiSend. | ||
|
||
How to use: | ||
MferSafe also provides a convenient way to sign GnosisSafe transaction. When you simulate the transaction bundle, it shows up ApproveHash and ApproveHashCalldata. | ||
|
||
Build steps: | ||
You have 2 options to execute the multisig transaction. | ||
|
||
Apple Silicon macOS Prerequisite: | ||
The widely used way is to sign the ApproveHash and set each participant's Signature Override field, then you can send a transaction to your wallet address and set the calldata to 'ExecTransaction Calldata'. | ||
|
||
`brew install pkg-config cairo libpng jpeg giflib` | ||
The other way of signing the transaction is calling 'approveHash' function by all participants and send execution transaction by the last participant. | ||
|
||
Build app: | ||
Demo: | ||
|
||
`./build.sh` | ||
``` | ||
[![Demo Video](https://img.youtube.com/vi/zciR5oEg-uY/0.jpg)](https://youtu.be/zciR5oEg-uY) | ||
``` | ||
|
||
### How to use | ||
|
||
1. Install browser-extension | ||
2. launch MferSafe app | ||
|
||
### Build | ||
|
||
Apple Silicon macOS Prerequisite: | ||
`brew install pkg-config cairo libpng jpeg giflib` | ||
|
||
1. [Install tauri build environment](https://tauri.app/zh/v1/guides/getting-started/prerequisites) | ||
2. [Install golang](https://go.dev/doc/install) | ||
3. `./build.sh` | ||
|
||
### Download Binary build by Github Action | ||
|
||
[Download Binary] https://github.com/sec-bit/mfer-safe/releases |