The early inspiration of the project is from the recent Russia Ukraine War. During the war the economy of the country crashes. The indian students who were studying in the country were made to return back to India with no support for their countinued education back home. This combined with non-trasparency in current scholarship distribution process made us to believe that a decentralized solution was needed in this sector.
BlockScholar is a project made for a trasparent automatic distribution web application.
- Gancahe Blockchain:- https://trufflesuite.com/ganache/
- Git Bash
- Node :- v18.17.0
- Moralis API key
- MongoDB URI
- Alcamey Account
git clone https://github.com/33Shivam/BlockScholar.gitcd BlockScholarnpm installcd clientnpm installThe project has two .env files that needed to be set up.
- The local blockchain envirnoment variable
- Local Variables FrontEnd and Backend
Navigate to root of the project
cd BlockScholarCreate an .env file with the following variables:-
- GOERLI_URL :- Get it from Alcamey
- PRIVATE_KEY :- Get it from Alcamey
- GOERLI_API_KEY :- Get it from Alcamey
- PRIVATE_KEY_GANACHE :- Get it by importing a sample account from Ganche and exporting the private key
Navigate to client folder of the project
cd clientCreate an .env.local file with the following variables:-
- MORALIS_API_KEY :- Get it from Alcamey
- APP_DOMAIN :- Get it from Alcamey
- NEXTAUTH_URL :- Get it from Alcamey
- NEXTAUTH_SECRET :- Get it by importing a sample account from Ganche and exporting the private key
- MONGO_DB_URI
Explain how to run the code. Include any command-line arguments or configurations that need to be set.
Example:
python main.py --input data/input.txt --output results/output.txt