Skip to content

Shared Wallet smart contract with owner-managed users and monthly withdrawal limits. Tested using Hardhat and deployed + verified on Sepolia.

Notifications You must be signed in to change notification settings

kartiksingh37-arch/shared-wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Shared Wallet Smart Contract πŸ’ΌπŸ”

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.


πŸš€ Features

  • βœ… 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

πŸ“œ Verified Contract (Sepolia)


πŸ›  Tech Stack

  • Solidity ^0.8.20
  • Hardhat
  • Ethers.js
  • Mocha + Chai
  • OpenZeppelin (not required, pure contract logic)
  • Sepolia Testnet Deployment
  • Etherscan Verification

πŸ“‚ Project Structure

About

Shared Wallet smart contract with owner-managed users and monthly withdrawal limits. Tested using Hardhat and deployed + verified on Sepolia.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published