coolcode / ERC-7521

A generalized intent specification for smart contract wallets, allowing authorization of current and future intent standards at sign time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generalized Intents for Smart Contract Wallets

A generalized intent specification for smart contract wallets, allowing authorization of current and future intent standards at sign time.

Changes

  • support EOA account as sender
  • integrate multicall3

Specification

View the spec here: ERC-7521.

Build From Source

Dependencies

dep version
Foundry latest
Trunk latest

Building

Make sure submodules are up to date:

git submodule update --init --recursive

Build and run tests:

forge build
forge test

Build and run hardhat scenario tests and benchmarking:

npx hardhat compile
npx hardhat test

Contributing

Code must pass tests and coverage requirements as well as follow formatting requirements.

forge test
forge coverage
npx hardhat test
trunk fmt

License

The primary license for this repo is Apache-2.0, see LICENSE.

About

A generalized intent specification for smart contract wallets, allowing authorization of current and future intent standards at sign time.

License:Apache License 2.0


Languages

Language:Solidity 64.4%Language:TypeScript 35.6%