{"id":19242202,"url":"https://github.com/hashfx/crowdfunding-dapp","last_synced_at":"2026-06-10T21:31:39.192Z","repository":{"id":206209603,"uuid":"711158954","full_name":"hashfx/Crowdfunding-Dapp","owner":"hashfx","description":"Decentralized crowd funding platform where user can start fundraising \u0026\u0026 Fund raiser needs consensus of contributors before withdrawing amount from the contract","archived":false,"fork":false,"pushed_at":"2024-02-04T15:26:34.000Z","size":282,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T14:44:22.283Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hashfx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-10-28T11:49:22.000Z","updated_at":"2023-10-28T11:52:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"62be1871-811e-4ae7-8390-e97f03ecb875","html_url":"https://github.com/hashfx/Crowdfunding-Dapp","commit_stats":null,"previous_names":["hashfx/crowdfunding-dapp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hashfx/Crowdfunding-Dapp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FCrowdfunding-Dapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FCrowdfunding-Dapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FCrowdfunding-Dapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FCrowdfunding-Dapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hashfx","download_url":"https://codeload.github.com/hashfx/Crowdfunding-Dapp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hashfx%2FCrowdfunding-Dapp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34172196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T17:13:40.978Z","updated_at":"2026-06-10T21:31:39.176Z","avatar_url":"https://github.com/hashfx.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Crowd funding\n\nhttps://user-images.githubusercontent.com/55044734/164529677-27af29f2-96d6-4ce6-bb61-c1f0c63a3beb.mp4\n\n### Project features :bulb:\n\n- [x] User can start a fundraising.\n- [x] Anyone can contribute.\n- [x] End project if targeted contribution amount reached.\n- [x] Expire project if targeted amount not fulfills between deadline.\n- [x] Contributors can withdraw contributed amount if project expire.\n- [x] Owner need to request contributors for withdraw amount.\n- [x] Owner can withdraw amount if 50% contributors agree.\n- [x] Connect with wallet.\n\n\n### Tech stack \u0026 packages used 📦\n\n| package                                                             | explain                                                               |\n| ------------------------------------------------------------------- | --------------------------------------------------------------------- |\n| [Next.js](https://nextjs.org/docs/getting-started)                  | For building frontend                                                 |\n| [solidity](https://docs.soliditylang.org/en/v0.8.13/)               | For writting smart contracts                                          |\n| [tailwind css](https://tailwindcss.com/docs/installation)           | For building design                                                   |       \n| [ether.js](https://docs.ethers.io/v5/)                              | Web3 client (contract testing ).                                      |\n| [web3.js](https://www.npmjs.com/package/web3)                       | Web3 client (Frontend Next.js).                                       |\n| [Chai](https://www.npmjs.com/package/chai)                          | javascript testing framework.                                         |\n| [react-toastify](https://www.npmjs.com/package/react-toastify)      | For Notification.                                                     |   \n| [hardhat](https://www.npmjs.com/package/hardhat)                    | Ethereum development environment.                                     | \n| [Redux](https://www.npmjs.com/package/hardhat)                      | For managing and centralizing application state.                      |   \n\n\n----------------\n\n### How to run :runner: :\n\n- Run hardhat node\n    ```\n    npx hardhat node\n    ```\n- Run test cases\n    ```\n    npx hardhat test\n    ```\n- Connect HardHat Account to Metamask\n\nhttps://github.com/Thiru-Malai/Crowdfunding-DAPP/assets/73980589/f694a9ef-a035-4f2a-9763-98c90839e2b9\n\n- Deploy contract in local hardhat node\n    ```\n    npx hardhat run scripts/deploy.js --network localhost\n    ```\n- Run Next.js frontend\n    ```\n    cd client\n    npm run dev\n    ```\n- Connect account to  website\n\n\n### Web3.js \n------------\n- [Load web3](https://web3js.readthedocs.io/en/v1.2.11/web3-eth.html#web3-eth)\n- [Connect with contract](https://web3js.readthedocs.io/en/v1.2.11/web3-eth-contract.html#web3-eth-contract)\n    ```\n    new web3.eth.Contract(jsonInterface[, address][, options])\n    ```\n- [Callback promises events](https://web3js.readthedocs.io/en/v1.2.11/callbacks-promises-events.html#callbacks-promises-events)\n    ```\n    .on('transactionHash', function(hash){ ... })\n    .on('error', function(error){ ... })\n    ```\n- [Subscribe to event](https://web3js.readthedocs.io/en/v1.2.11/web3-eth-contract.html#contract-events)\n    ```\n    contractName.events.EventName([options][, callback])\n    ```\n- [Fetch all data from contract event](https://web3js.readthedocs.io/en/v1.2.11/web3-eth-contract.html#getpastevents)\n    - \u003csmall\u003e An array with the past event Objects, matching the given event name and filter.\u003c/small\u003e\n\n    ```\n    contractName.getPastEvents(EventName[, options][, callback])\n    ```\n\n### Hardhat commands\n```shell\nnpx hardhat accounts\nnpx hardhat compile\nnpx hardhat clean\nnpx hardhat test\nnpx hardhat node\nnode scripts/deploy.js\nnpx hardhat help\nnpx hardhat run scripts/deploy.js --network \u003cnetwork name\u003e\n```\n\n### GitPod ToDo\n\n+ ```export NODE_OPTIONS=\"--openssl-legacy-provider\"```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashfx%2Fcrowdfunding-dapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhashfx%2Fcrowdfunding-dapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhashfx%2Fcrowdfunding-dapp/lists"}