keif / shared-wallet

Solidity Shared Wallet Example

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shared-wallet

Real-World Use-Case for this Project

πŸ’‘ Allowance for Children per day/week/month to be able to spend a certain amount of funds. πŸ’‘ Employers give employees an allowance for their travel expenses. πŸ’‘ Businesses give contractors an allowance to spend a certain budget.

Development-Goal

πŸ‘› Have an on-chain wallet smart contract. πŸ’Έ This wallet contract can store funds and let users withdraw again. ✌️ You can also give "allowance" to other, specific user-addresses. 🚫 Restrict the functions to specific user-roles (owner, user) πŸ” Re-Use existing smart contracts which are already audited to the greatest extent

Simple Wallet Functionality

  • Deposit funds with fallback
  • Owner Withdrawal (unlimited as long as there are funds)
  • Non-owner withdrawal (depending on allowance variable)
  • Only Owner Change Allowance
  • Permissions modifier

About

Solidity Shared Wallet Example

License:MIT License


Languages

Language:Solidity 100.0%