kwakyebrilliant/mydonateio

Brilliant Kwakye

Frontend Engineer
Web Developer
Solidity Engineer

myDonate

A web3 transparent donation application Explore the docs »
Details
Table of Contents

About The Project

Making use of blockchain technology, we have created a crypto donation platform. where users can start a fundraising and others can donate to the application.

Built With

This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.

Getting Started

The project consist of the backend and also the front end.

Prerequisites

nodejs installed
npm
npm install npm@latest -g

Local setup

To run this project locally, follow these steps.
Clone the project locally, change into the directory, and install the dependencies:
git clone https://github.com/mendsalbert/mydonate2 cd sympodiumCoin # install using NPM or Yarn npm install # or yarn
Start the local Hardhat node
npx hardhat node
With the network running, deploy the contracts to the local network in a separate terminal window
npx hardhat run scripts/deploy.js --network localhost
Start the app

Configuration

The chain ID should be 80001. If you have a localhost rpc set up, you may need to overwrite it.
To deploy to Polygon test or main networks, update the configurations located in hardhat.config.js to use a private key and, optionally, deploy to a private RPC like Infura.
/* hardhat.config.js */ /* hardhat.config.js */ require('@nomiclabs/hardhat-waffle'); require('hardhat-contract-sizer'); const fs = require('fs'); const privateKey = 'xxx'; const projectId = 'xx'; module.exports = { defaultNetwork: 'hardhat', networks: { hardhat: { chainId: 1337, allowUnlimitedContractSize: true, }, matic: { url: 'https://polygon-mumbai.g.alchemy.com/v2/2bGIFu-iEnl9RvAOTe1ddZI2gBnuYQGS', accounts: [privateKey], }, }, solidity: { version: '0.8.4', settings: { optimizer: { enabled: true, runs: 200, }, }, }, };
If using Infura, update .infuraid with your Infura project ID.

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
Fork the Project
Create your Feature Branch (git checkout -b feature/AmazingFeature)
Commit your Changes (git commit -m 'Add some AmazingFeature')
Push to the Branch (git push origin feature/AmazingFeature)
Open a Pull Request

License

Distributed under the MIT License.

Contact

Brilliant Kwakye - @a_moah__
Daniel Sarkodie - @AbrantepaSark

Acknowledgments

Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!

mydonate2

Partner With Brilliant
View Services

More Projects by Brilliant