Skip to content

DFMlab/edufund

Repository files navigation

about

EduFund is a platform where you can raise funds to access educational resources online on platforms like learn.dfmlab.com (or any platform that supports crypto payment) or for traditional schools that will support crypto payment. The idea is that there are millions of people in the world today (800 million+ in Africa) who are not educated, do not have access to digital education, and do not have access to funds to access educational/learning resources. They can easily raise funds on the platform; it is as simple as creating a new Facebook profile. An interested learner can start a campaign (a request to raise money for learning), enter the required information, and then submit it for review. For now, the review and approval of a new campaign is done by the DFMlab team. The plan is to create a DAO where professionals in the area of interest can collectively review and approve campaign requests. Once the campaign is published, investors or supporters can fund it with just the click of a button. The amount raised for a campaign is held in a smart contract and is only released to the educator/content creator once the learner completes the learning objective. This helps reduce the possibility of campaign fraud while providing a credit system to access educational materials and content. Through integration, existing learning platforms can provide access to educational content in advance, with the smart contract providing escrow protection. This will protect the learner, educator, and investor on the platform. Our solution will ensure:

Provide educational funding. Reduce crowdfunding platform fraud. Promote cryptocurrency adoption by establishing a utility-based economy.

Demo

DAPP URL https://edufund-ekzef4s2o-dfmlab.vercel.app/

SMART CONTRACT ADDRESS 0xE82840DFB0CFd82D099847e16BCE3C05B2Edfe79 https://alfajores-blockscout.celo-testnet.org/address/0xE82840DFB0CFd82D099847e16BCE3C05B2Edfe79/transactions

PITCH DECK https://drive.google.com/file/d/1pbLpWjnHLkVbTbLNiJIkwVwd2ERRFYIs/view https://youtu.be/iq6iZWgGiuk

DEVELOPMENT TOOLS USED

CELO use-contractkit https://github.com/celo-org/use-contractkit
React https://github.com/facebook/create-react-app
Hardhat https://hardhat.org/
Infura IPFS https://infura.io/
Django https://www.djangoproject.com/ \

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

yarn test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

yarn eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

yarn build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Advanced Sample Hardhat Project

This project demonstrates an advanced Hardhat use case, integrating other tools commonly used alongside Hardhat in the ecosystem.

The project comes with a sample contract, a test for that contract, a sample script that deploys that contract, and an example of a task implementation, which simply lists the available accounts. It also comes with a variety of other tools, preconfigured to work with the project code.

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
npx hardhat run scripts/deploy.js
node scripts/deploy.js
npx eslint '**/*.js'
npx eslint '**/*.js' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix

Etherscan verification

To try out Etherscan verification, you first need to deploy a contract to an Ethereum network that's supported by Etherscan, such as Ropsten.

In this project, copy the .env.example file to a file named .env, and then edit it to fill in the details. Enter your Etherscan API key, your Ropsten node URL (eg from Alchemy), and the private key of the account which will send the deployment transaction. With a valid .env file in place, first deploy your contract:

hardhat run --network ropsten scripts/deploy.js

Then, copy the deployment address and paste it in to replace DEPLOYED_CONTRACT_ADDRESS in this command:

npx hardhat verify --network ropsten DEPLOYED_CONTRACT_ADDRESS "Hello, Hardhat!"

About

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors