Awesome
<h1 align="center"> TrueWallet Contracts </h1>
<h3 align="center"> This repository contains the smart contract suite used in TrueWallet project </h3>
<br>
Features
- Support ERC-4337: Account Abstraction
- Modular design
- Social Recovery with Guardians
- Upgradability: The smart contract wallet can be upgraded in a secure way to add new features or fix vulnerabilities in the future
Getting Started
Setup:
git clone <repo_link>
Install dependencies:
forge install
Compile contracts:
yarn build
Run unit tests:
yarn test
Add required .env variables:
cp .env.example .env
Run fork tests:
yarn test:fork
Gas report:
yarn gas-report
<!-- ACKNOWLEDGMENTS -->
Acknowledgments
- <a href='https://eips.ethereum.org/EIPS/eip-4337'>EIP-4337: Account Abstraction via Entry Point Contract specification</a>
- <a href='https://github.com/eth-infinitism/account-abstraction'>Infinitism Account Abstraction Contracts</a>
- <a href='https://github.com/SoulWallet/soul-wallet-contract/tree/main'>SoulWallet Contracts</a>
- <a href='https://github.com/safe-global/safe-contracts'>Gnosis Safe Contracts</a>