Auto Speed Up (unstuck transactions with less user involvement)

Description

One major issue using MetaMask is ‘stuck transactions’ which especially can occur when the user uses many actions, and therefore fills the Queue with transactions and then at some point there will be a transaction which wasn’t readily set for the increased gas price, therefore it gets stuck. The traditional way is to do a Speed Up, but that requires user attention and work. It would be nice, if the Wallet took care of things automatically.

Auto Speed Up (Feature Request)

Idea / Request (for discussion):

Here’s how such a feature could be implemented:

  1. User Configuration:
  • Users could enable the auto-speed-up feature in the wallet settings.
  • They could define parameters like:
    • Percentage increase per attempt (e.g., 10%, 20%)
    • Time interval between attempts (e.g., 2 minutes, 5 minutes)
    • Maximum number of attempts
    • Maximum gas price limit (to prevent excessive spending)
  1. Transaction Monitoring:
  • The wallet would monitor the status of pending transactions.
  • If a transaction remains pending for a specified duration (e.g., 1 minute), the auto-speed-up function would be triggered.
  1. Speed-Up Execution:
  • The wallet would calculate the new gas price based on the configured percentage increase.
  • It would submit a speed-up transaction with the increased gas price.
  • It would wait for the specified time interval before attempting another speed-up.
  1. Stopping Conditions:
  • The auto-speed-up process would stop if:
    • The transaction is confirmed.
    • The maximum number of attempts is reached.
    • The gas price reaches the user-defined maximum limit.
    • The user manually cancels the transaction.

Benefits:

  • Convenience: Users wouldn’t need to manually monitor and speed up transactions.
  • Reduced Anxiety: It would alleviate the stress of dealing with stuck transactions.
  • Time Savings: Users could focus on other tasks while the wallet handles the speed-up process.
  • Improved Efficiency: It could contribute to a more efficient network by dynamically adjusting gas prices based on real-time conditions.

Challenges:

  • Gas Price Prediction: Even with incremental increases, predicting optimal gas prices remains a challenge.
  • Nonce Management: Careful nonce management is crucial to avoid conflicts and ensure proper transaction replacement.
  • User Interface: Designing a user-friendly interface for configuring and managing the auto-speed-up feature is essential.
  • Technical Complexity

Hi @MarkyGoldstein thank you so much for sharing your feedback in that way, it’s a pleasure to read your comment perfectly structured :orange_heart: rest assured we will share it with the team :fox_face:

2 Likes

It’s kind of astonishing, but I’d like to point out how I wrote it:

  • I did a conversation back and forth with Gemini Advanced where we went into the problem of filling queues, user behavior, stuck transactions, root causes (often gas settings), gas estimation, etc. and in that discussion, I came up with the idea.
  • So I presented the idea (in very short words) to Gemini
  • And then she wrote the entire feature request with arguments, reasoning, conditions, etc. (she basically wrote the entire specification)
  • That’s where we are with AI now. Isn’t it extreme? Give Gemini Advanced a ride
2 Likes

:hushed: Ohhh! that’s really awesome!! thank you for letting us know the details, it’s incredible, we love to see how AI helps us to improve many aspects of our daily lives :sparkles: