Urgent.News

What's breaking now, across hundreds of outlets.

Tech

How UNSWEEP Tests and Verifies Its EIP-7702 Token Recovery Contracts

When a wallet's private key is compromised by a sweeper bot, sending ETH for gas to rescue remaining ERC-20 tokens usually fails—the bot drains the gas before the recovery transaction lands. UNSWEEP ( unsweep/unsweep , MIT) uses EIP-7702 delegation plus a relayer so a compromised EOA can sign a rescue intent locally in the browser without funding gas on the compromised address. Because asking…

UNSWEEP tests and verifies its EIP-7702 token recovery contracts through a reproducible engineering baseline. The core delegate contract is compiled with solc 0.8.39 and tested with Foundry. Foundry is used to compile and test the contracts, ensuring no tests fail across four suites. The UNSWEEP contract testing includes EIP-712 domain and replay protection, transient reentrancy lock, and cross-stack digest parity.

Slither, a static analysis tool, is also used to examine the contracts, identifying one high and one low severity issue. The production contracts are deployed on Base and Arbitrum One, with bytecode and production frontend hashes verifying the contracts against the GitHub repository. The UNSWEEP team acknowledges known limitations and invites independent review of the contracts, relayer, and frontend.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Build a Portable Homelab That Fits in Your Carry-On

Your homelab does not have to stay home. Whether you are heading to a conference, working from a hotel, or just want your own trusted network wherever you land, a portable homelab is completely doable…

  • Portable homelab fits in carry-on with compact hardware.
  • Use travel router, SBCs, and gigabit switch for network.
  • Enable WireGuard tunnel for remote access to home services.

Platform Over Customer Ownership for 100 Tenants With DNS Zone Deletion Guards

A shared marketplace namespace concentrates administrative authority, while customer ownership puts the DNS boundary outside the marketplace's sole control.

  • Platform uses sole control of parent domain for DNS management.
  • Prevents zone deletion during tenant offboarding with guards.
  • Ownership defined by domain control and resource operation authority.

More from Tuesday 24 November →