Skip to content

TrueWallet/contracts

Repository files navigation

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