This repository contains a blockchain-based decentralized fund collector smart contract. The smart contract is designed to collect funds from multiple investors and distribute them to a specified beneficiary in a decentralized and secure manner.
The smart contract has the following features:
- Decentralized fund collection
- Secure transfer of funds to the beneficiary
- Transparent and immutable ledger of all transactions
- Accessible to anyone with an internet connection
- Open source code for transparency and community contributions
The smart contract is built using the following technologies:
- Solidity: A programming language used for writing smart contracts on the Ethereum blockchain
- Truffle: A development framework for Ethereum-based applications
- Ganache: A personal blockchain for Ethereum development and testing
- Ethers js: A JavaScript library for interacting with the Ethereum blockchain
To get started with the smart contract, you will need to:
- Clone the repository to your local machine
- Install the required dependencies using
npm install
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat run scripts/deploy.js
Once the smart contract is deployed, you can interact with it using the provided JavaScript files in the src
directory. These files use ethers js to interact with the deployed smart contract.
Contributions to this repository are welcome. To contribute, please fork the repository, make your changes, and submit a pull request.
This repository is licensed under the MIT License. See the LICENSE
file for more information.