Skip to content

TheRustVeil/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

 
 
 

Contributors