TrueWallet / contracts

Account abstraction (ERC-4337) smart contracts and modules

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrueWallet Contracts

This repository contains the smart contract suite used in TrueWallet project


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

Install Foundry and Forge: installation guide

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

About

Account abstraction (ERC-4337) smart contracts and modules

License:GNU General Public License v3.0


Languages

Language:Solidity 99.7%Language:TypeScript 0.3%