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 featuresTimelockSmartWallet
: a Coinbase smart wallet with timelock features only
TimelockBountySmartWalletFactory.sol
Network | Address |
---|---|
Ethereum Sepolia | 0xe297332936e26ba52fc3706469269ec912d1bcee |
Morph Holesky | 0xe297332936e26ba52fc3706469269ec912d1bcee |
Arbitrum Sepolia | 0xe297332936e26ba52fc3706469269ec912d1bcee |
Base Sepolia | 0xe297332936e26ba52fc3706469269ec912d1bcee |
After cloning the repo, run the tests using Forge, from Foundry
forge test
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
This is a fork of Coinbase's ERC-4337 Smart Wallet.