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.
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
.