Skip to content

v3.0.0

Latest

Choose a tag to compare

@sideris sideris released this 02 Nov 00:12
6314a02

DevWallet 3.0 turns your node's dev accounts into smart accounts and moves the wallet into a redesigned side panel.

Your dev accounts are smart accounts

Highlights

  • Smart accounts (EIP-7702, Kernel v3.3). Each dev account is delegated to Kernel at its own address. Switch any account to Plain under Advanced on the Account home.
  • Sponsored sends (ERC-4337 v0.7). A smart account's sends go out as user operations paid by the DevWallet sponsor and paymaster. If the sponsor can't pay, the account pays, and the approval says why.
  • EIP-5792 v2. wallet_sendCalls, wallet_getCallsStatus, wallet_getCapabilities and wallet_showCallsStatus, with atomic batches. Every approval is simulated first: the payer, the cost, the balance changes and each call, decoded.
  • Batch queue. Collect sends from one or more dApps, reorder or drop them, and sign them as one transaction.
  • User operations in Activity. handleOps transactions open into their user operation, paymaster and calls.
  • A stricter page boundary. A site that isn't connected can only read the chain and connect, and the wallet UI can no longer be framed. See "What a site can do" in the README.
  • Redesigned side panel and a new logo, the Docked D.

See a batch before you sign it

Queue sends from any dApp

Coming from 2.x

  • Existing dev accounts become smart the first time DevWallet checks a network. A smart account's sends then go through Kernel: the transaction's to is the EntryPoint (sponsored) or the account itself, and a sponsored send doesn't move the account's nonce. To keep plain transactions, switch the account to Plain.
  • dApps that call cheat methods (anvil_*, evm_*) through the wallet must connect first.
  • Hardhat with its default config: Sign anyway on a batch leaves the batch open; Discard it, or set throwOnTransactionFailures: false.

Known issues

  • On Anvil, eth_accounts also lists the DevWallet sponsor (0xA346…45F3), because Anvil lists the accounts it impersonates.

Install

Download extension.zip below, unzip it, open chrome://extensions, turn on Developer Mode and choose Load unpacked.

User operations, opened up

Every dev account, and any address

What's Changed

  • Redesign: Terminal Sidecar shell and Account home by @sideris in #35
  • Show the called function's name in recent activity by @sideris in #36
  • Scan for contracts a few blocks at a time by @sideris in #38
  • Drop stale tokens and collapse empty ones by @sideris in #37
  • Upgrade react-router to 7 and bump TanStack Query by @sideris in #39
  • Smart accounts, sponsorship, EIP-5792 v2 and batch queue (3.0.0) by @sideris in #40

Full Changelog: v2.0.0...v3.0.0