[TX Builder] Loading transaction batch from other tx/txs

Open
#389 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript

Research direction

Start by locating the TX Builder entry point and its existing transaction-loading and batching flow; the issue names no specific files or tests. Trace how a safeTxHash could load executed or pending transactions, including from other Safes, and define done as editable single loads, additive batching, and flattened MultiSend calls without nested batches.

Written by the indexing model from the issue text.

Description

Overview

We would like users to be able to replay txs, so tx builder can load transactions using the safeTxHash. Also for advanced users loading multiple executed or pending transactions and batching them together in a single transaction will be very useful.

Goals

  • Enable users to load a single tx into the tx builder (executed or pending, or even txs from other Safes).
  • Enable users to batch together multiple txs into the builder (executed or pending, or even txs from other Safes).

Requirements

  • Add a new button to load data from a tx (for a first version just copying and pasting the safeTxHash would be enough).
  • Tx data is loaded into the builder and can be modified, or a new transaction can be loaded and it will be added to the batching.
  • If trying to batch multiple transactions that are already batched, don't do nested calls to Multisend, just refactor the calls to do a single call to MultiSend with all the data.

Screens

Links

https://github.com/gnosis/safe-pm/issues/38

Dominant language
TypeScript
Stars
116
Forks
84
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from safe-global/safe-react-apps

All issues in safe-global/safe-react-apps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.