This is A Crowd Funding Application in which needy person can list his funding and any one can do charity and owner can withdraw the amount . And i will also implement many feature further .
This is A Crowd Funding Application in which needy person can list his funding and any one can do charity and owner can withdraw the amount . And i will also implement many feature further .
A simple and secure Solidity smart contract for managing a donation pool. This contract allows anyone to donate Ether, and only the owner (deployer) can withdraw funds for charity. The contract is deployed on the Edu Chain blockchain.
Donations: Anyone can donate Ether to the pool by sending Ether to the contract address or calling the donate()
function.
Transparency: The total amount of donations is publicly accessible via the totalDonations
variable.
Secure Withdrawals: Only the contract owner can withdraw funds for charity, ensuring that donations are used responsibly.
No Constructor: The contract uses an initialize()
function to set the owner, making it compatible with certain deployment patterns.
Fallback Function: The contract includes a receive()
function to accept Ether directly without requiring a specific function call.
Solidity Version: 0.8.0
Deployed Address on Edu Chain: 0x8469a3DCF16C22F3c4d12c848A9112e68012731D
(Replace with actual explorer link if available)
Deploy the Contract: Deploy the smart contract to the Edu Chain network.
Initialize: Call the initialize()
function to set the contract owner.
Donate: Users can donate Ether by sending it to the contract address or calling the donate()
function.
Withdraw: The owner can withdraw funds for charity by calling the withdraw()
function.
90
00