A Shared Wallet smart contract where the owner can add users with a monthly spending limit. Users can withdraw ETH only within their assigned limits, and the limit resets automatically after 30 days.
✅ Deployed & Verified on Sepolia Testnet.
- ✅ Owner-controlled shared wallet
- ✅ Add/remove users with monthly spending limits
- ✅ Users can withdraw ETH within allowed monthly limit
- ✅ Automatic monthly spending reset (after 30 days)
- ✅ Secure withdrawals using
.call - ✅ Custom Solidity errors for gas efficiency
- ✅ Fully tested using Hardhat + Mocha + Chai
- ✅ Gas usage report included
- Contract Address:
0xE766DA58F87d42Dec8AF04831fa0a0D057e437e5 - Etherscan (Verified Code):
https://sepolia.etherscan.io/address/0xE766DA58F87d42Dec8AF04831fa0a0D057e437e5#code
- Solidity
^0.8.20 - Hardhat
- Ethers.js
- Mocha + Chai
- OpenZeppelin (not required, pure contract logic)
- Sepolia Testnet Deployment
- Etherscan Verification