Skip to content

Latest commit

 

History

History
 
 

contract

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Contracts

Our main contracts:

  • DaimoAccount - ERC-4337 contract wallet
  • DaimoAccountFactory - deploys DaimoAccounts behind an ERC1967Proxy
  • DaimoEphemeralNotes - stores notes aka Payment Links, used to pay people who don't yet have an account
  • DaimoNameRegistry - maps account names to addresses

See also the EIP-7212 P256Verifier contract.

Testing

foundryup
forge test --fork-url "https://base-sepolia.publicnode.com"

Before making a PR, update detailed coverage:

forge coverage --report lcov --fork-url "https://base-sepolia.publicnode.com"

You can see line-by-line coverage in VSCode using the recommended extension. Run Cmd+Shift+P > Coverage Gutters: Display Coverage.