Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.26 KB

README.md

File metadata and controls

51 lines (35 loc) · 1.26 KB

Smart Wallet

This repository contains code for a modified ERC-4337 compliant smart contract wallet from Coinbase.

There are 2 main types:

  • TimelockBountySmartWallet: a Coinbase smart wallet with timelock and bounty features
  • TimelockSmartWallet: a Coinbase smart wallet with timelock features only

Addresses

TimelockBountySmartWalletFactory.sol

Network Address
Ethereum Sepolia 0xe297332936e26ba52fc3706469269ec912d1bcee
Morph Holesky 0xe297332936e26ba52fc3706469269ec912d1bcee
Arbitrum Sepolia 0xe297332936e26ba52fc3706469269ec912d1bcee
Base Sepolia 0xe297332936e26ba52fc3706469269ec912d1bcee

Developing

After cloning the repo, run the tests using Forge, from Foundry

forge test

Deploying

To deploy on a new chain, in your .env set

#`cast wallet` name
ACCOUNT=
# Node RPC URL
RPC_URL=
# Optional Etherscan API key for contract verification
ETHERSCAN_API_KEY=

See here for more details on cast wallet.

Then run

make deploy

Acknowledgements

This is a fork of Coinbase's ERC-4337 Smart Wallet.