-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
33 lines (21 loc) · 1.68 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Crowd-Funding-Using-Solidity
The above code is for a Solidity smart contract for a Crowdfunding, where contributors can contribute money, create proposals and vote for proposals. The contract has functions to contribute, get the contract balance, get a refund, create proposals, vote for proposals, and make payments (only accessible by the manager).
## Getting Started
To use this smart contract, you will need a platform that supports smart contract deployment and execution, such as Ethereum. You will also need a tool such as Remix or Truffle to deploy and test the contract.
## Features
- Secure and transparent fundraising: All transactions and donations are recorded on the Ethereum blockchain, ensuring that the funds are secure and transparent.
- Refund mechanism: In case the campaign does not reach its funding goal, the smart contract will automatically return the donated funds to their respective contributors.
- Efficient and cost-effective: The smart contract eliminates the need for intermediaries, reducing transaction fees and speeding up the fundraising process.
## Contract Methods
### `contribute`
This method allows all the participants to contribute to the Fund.
### `contractBalance`
This method fetche's the balance of the contract.
### `reFund`
This method is used to get the refund if the contract has not reached the target before the deadline.
### `createProposal`
This will be used by the manager to create proposals for investing/donating the Fund.
### `voteForProposal`
This will give the power to the user to vote for any proposal and proposals who win more than 50% vote can only be executed.
### `makePayment`
This will give the payment to the recpient for the proposal.