PeerPool
Peer 2 Peer Carpooling Decentralized Application deployed on Ethereum Network
Install / Use
/learn @upes-open/PeerPoolREADME
P2P-Carpooling-DAPP
An alternative cab service app to other apps like Ola, and Uber, which control the work environment for drivers and take chunks of cuts from their earnings as commission, making life difficult for a regular driver. This P2P Carpooling DAPP will connect drivers directly with customers to share a ride. The transactions will go through smart contracts run on blockchain technology and paid via cryptocurrency. Anyone can register as a driver and publish rides for people to book. This DAPP makes the process more hassle-free, making it more transparent.
<hr> <!-- ## Project Structure ├── README.md -> The top-level README for developers/collaborators using this project. | ├── contracts -> | ├── Migrations -> Pushes the desired files to the blockchain. │ ├── source -> Source code for frontend and JavaScript file linked with the contracts. │ └── images -> Images used in frontend part. │ ├── test -> Test set for testing the DAPP's working. │ ├── package.json -> Information regarding name of package and versions of modules used. │ └── hardhat-config.js -> Hardhat Configuration. --> <!-- ### Star & Fork the repository to get started --> <!-- ## Workflow  -->Set-Up
- Install Yarn
npm install --global yarn
- Install Dependencies:
yarn install
To Run on Localhost:
cd peerpool
yarn run dev
Other Commands
- Compile Contracts:
yarn hardhat compile
- Run Scripts:
yarn hardhat run <script name>
- Run tests:
yarn hardhat test
<!-- Here is a brief intro about what a contributor must do in order to get started developing the project further:
1. Open VSCode on your system.
2. Copy the given command to get the repository.
```shell
git clone https://github.com/upes-open/OSC-P2P-Carpooling-DAPP.git
```
3. Go to the folder in respective to the issue you are working on and save your work.
```shell
git add .
```
4. Now commit your changes with a message explaining the changes.
```shell
git commit -m "your message"
```
5. Push your changes.
6. Raise your first PR ! -->
<hr>
Tech Stack:
Frontend: Javascript, HTML/CSS
Backend: Solidity, Javascript
<hr>Contract Address: 0x4d30FE8d7847E6cC8B905518f32b40274f168Af7 (will be updated)
<hr>For Further Communications
- Join Our Discord Server: https://discord.gg/QHQ96vMF
- Email: 500096625@stu.upes.ac.in
- Ping on discord: trev#4443
NOTE: Metamask and other wallets keep on changing the protocols to work with the blockchain to ensure safety. "Deprecated" error might appear in future. Check official Metamask documentation for updates.
