https://github.com/5afe/replay-tx
Script to Replay Past Safe Transaction in Wallet Interface
https://github.com/5afe/replay-tx
Last synced: about 1 month ago
JSON representation
Script to Replay Past Safe Transaction in Wallet Interface
- Host: GitHub
- URL: https://github.com/5afe/replay-tx
- Owner: 5afe
- License: gpl-3.0
- Created: 2024-10-31T09:24:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-31T10:11:46.000Z (over 1 year ago)
- Last Synced: 2025-03-30T08:32:57.766Z (about 1 year ago)
- Language: Shell
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Replay Safe Transaction
This repository provides a script for building a Safe{Wallet} Transaction Builder bundle from a previously executed transaction.
**Disclaimer**: Always verify transactions before executing them! The script could have bugs that inadvertently build incorrect bundles.
## Requirements
- `jq`
- `curl`
## Usage
To replay a Safe transaction for Safe `eth:0x5afe5afE5afE5afE5afE5aFe5aFe5Afe5Afe5AfE` with nonce `42`, run:
```sh
bash replay-tx.sh eth:0x5afe5afE5afE5afE5afE5aFe5aFe5Afe5Afe5AfE 42 -o tx-bundle.json
```
This will create a `tx-bundle.json` file that can be imported into the Safe{Wallet} transaction builder interface.