Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shared Wallet Using Solidity

A simple shared wallet smart contract built with Solidity and Hardhat.

Features

  • Owner-controlled wallet with allowance system
  • Secure withdrawals with reentrancy protection
  • Event logging for all transactions
  • Comprehensive test suite

Setup

npm install
npx hardhat compile

Testing

npm test

Deployment

# Local deployment
npm run node
npm run deploy:localhost

# Hardhat network
npm run deploy

Usage

The wallet allows an owner to:

  • Receive ETH deposits
  • Set allowances for other addresses
  • Withdraw funds directly
  • Allow others to withdraw within their allowance

About

A simple wallet using solidity

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages