eip7702 1.1.3 copy "eip7702: ^1.1.3" to clipboard
eip7702: ^1.1.3 copied to clipboard

Dart library for EIP-7702 delegated transactions enabling smart account authorization and gas abstraction.

Changelog #

1.1.3 - 2025-12-25 #

Bug Fixes #

  • signature: remove s normalization in EIP7702MsgSignature (d568278)

1.1.2 - 2025-12-23 #

Bug Fixes #

  • signer_interface: remove redundant ethPrivateKey getter from CustomSigner (254893a)

1.1.1 - 2025-12-17 #

Bug Fixes #

  • remove unused wallet package imports and update readme (5c9e260)

1.1.0 - 2025-12-17 #

Features #

  • add call method for delegated execution (#5) (eb90840)

1.0.1 - 2025-12-13 #

Bug Fixes #

  • improve package score on pub.dev (a3985b8)
  • make publish workflow to trigger on tag push instead of release (62a592f)

1.0.0 - 2025-12-13 #

Features #

  • ✨ EIP-7702 Core Implementation (4b290f5)

    • Full Dart implementation of EIP-7702 typed transactions (type 0x04).
    • Support for constructing:
      • Unsigned7702Tx
      • Signed7702Tx
      • EIP-7702 authorization tuples.
    • RLP encoding for:
      • EIP-1559 base fields
      • AccessLists (EIP-2930 compatible)
      • authorizationList (EIP-7702-specific)
    • Signer Abstractions:
      • Signer.raw(Uint8List) for raw private keys.
      • Signer.eth(EthPrivateKey) for web3dart private keys.
    • Automatic v/yParity normalization for ECDSA:
      • yParity stored as 0/1 for EIP-7702.
      • v normalized to 27/28 for compatibility with ecRecover.
  • 🧰 Builder Layer (37b4746)

    • AuthorizationBuilder
      • Builds unsigned authorization messages with resolved chain ID + nonce.
      • Produces signed authorization tuples.
      • buildAndSignIfNeeded automatically avoids redundant delegation.
    • SetCodeTxBuilder
      • Builds full 0x04 typed transactions including: Nonce resolution, EIP-1559 gas estimation, AccessList, AuthorizationList
    • Delegation Detection
      • Implements correct parsing of EIP-7702 delegation stubs:
        • Detects 0xef0100 || <impl> prefix.
        • Extracts delegated implementation address.
  • 🚀 High-Level Client (53237ff)

    • Eip7702Client provides simple entrypoints:
      • delegateAndCall → Builds + signs + broadcasts a 7702 transaction, performing delegation if needed.
      • revokeDelegation → Clears delegation using 7702 SetCode flow.
  • 🔌 4337 Integration Helpers : canonicalizeUserOp for binding 7702 authorization with ERC-4337 user operations. (7234636)

  • docs: add comprehensive documentation (c5d0cfa)

  • test: add comprehensive test suite for EIP-7702 implementation (d369b3f)

0
likes
160
points
423
downloads

Publisher

verified publishervariance.space

Weekly Downloads

Dart library for EIP-7702 delegated transactions enabling smart account authorization and gas abstraction.

Homepage
Repository (GitHub)
View/report issues

Topics

#wallets #ethereum #web3 #account-abstraction

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

freezed_annotation, http, wallet, web3dart

More

Packages that depend on eip7702