Simple Charity Donation
The Charity Donation Pool is a decentralized smart contract built on Solidity to facilitate transparent and secure charitable donations.
Tech Stack
Description
Charity Donation Pool
This is a simple Solidity smart contract for a charity donation pool with an owner-controlled withdrawal mechanism. It allows users to donate funds, while only the contract owner can withdraw them.
Features
Users can donate Ether to the contract.
The contract owner can withdraw funds.
The total donations are tracked.
Secure access control using the
onlyOwnermodifier.
Deployed Contract
Network: Edu Chain
Deployed Address:
0x4487986e370C2c17973B80A4a2A796D022F168b3
How to Use
Send Ether to the contract address to donate.
The owner can call the
withdrawfunction to withdraw funds.Use
getBalanceto check the contract balance.
License
This project is licensed under the MIT License.