Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
9629e84
feat: create DisputeResolution contract with automated resolution logic
Uchechukwu-Ekezie Dec 12, 2025
052447b
fix: add helper methods and fix DisputeResolution integration
Uchechukwu-Ekezie Dec 12, 2025
8100a66
feat: add check-in/check-out timestamp tracking to ParkingSpot
Uchechukwu-Ekezie Dec 12, 2025
2ea23dd
feat: add evidence submission utilities and IPFS integration
Uchechukwu-Ekezie Dec 12, 2025
1c08d3a
feat: add frontend contract interfaces and hooks for dispute resolution
Uchechukwu-Ekezie Dec 12, 2025
9531aa4
feat: create dispute filing form and dispute card components
Uchechukwu-Ekezie Dec 12, 2025
a4b5c68
feat: add dispute history and evidence display components
Uchechukwu-Ekezie Dec 12, 2025
0bcd818
feat: add check-in/check-out and admin dispute panel components
Uchechukwu-Ekezie Dec 12, 2025
5203803
feat: create disputes page and admin disputes panel page
Uchechukwu-Ekezie Dec 12, 2025
15b909b
feat: add deployment script and comprehensive tests for DisputeResolu…
Uchechukwu-Ekezie Dec 12, 2025
151f782
feat: add integration tests and update package scripts
Uchechukwu-Ekezie Dec 12, 2025
7ddbcb2
docs: add comprehensive documentation for dispute resolution system
Uchechukwu-Ekezie Dec 12, 2025
a7a315c
feat: add dispute calculation utilities and config updates
Uchechukwu-Ekezie Dec 12, 2025
cbe6424
fix: add dispute resolution addresses to contracts config
Uchechukwu-Ekezie Dec 12, 2025
feac70b
feat: add dispute status badge and filter components
Uchechukwu-Ekezie Dec 12, 2025
156209b
feat: add IPFS upload API route and update DisputeCard
Uchechukwu-Ekezie Dec 12, 2025
93e76df
docs: add comprehensive implementation summary
Uchechukwu-Ekezie Dec 12, 2025
0357ab5
feat: add setup script for DisputeResolution configuration
Uchechukwu-Ekezie Dec 12, 2025
83883d1
test: add edge case tests for DisputeResolution
Uchechukwu-Ekezie Dec 12, 2025
4e52023
docs: add changelog for dispute resolution system
Uchechukwu-Ekezie Dec 12, 2025
42ac052
Merge pull request #28 from dev-babs/main
Uchechukwu-Ekezie Dec 12, 2025
fa47480
Merge pull request #29 from Uchechukwu-Ekezie/feature/dispute-resolut…
Uchechukwu-Ekezie Dec 16, 2025
29e5283
chore: add html5-qrcode dependency
Uchechukwu-Ekezie Dec 16, 2025
ff1e65d
feat(booking): update QRCodeDisplay to support signatures and mobile …
Uchechukwu-Ekezie Dec 16, 2025
7d6157d
feat(owner): add QRScanner component for verifying bookings
Uchechukwu-Ekezie Dec 16, 2025
9f2dfef
feat(booking): integrate QRCodeDisplay with BookingConfirmation
Uchechukwu-Ekezie Dec 16, 2025
e1207db
feat(booking): update BookingFlow to generate mock signature and tran…
Uchechukwu-Ekezie Dec 16, 2025
1d60f23
feat(owner): add QR scan tab to OwnerDashboard
Uchechukwu-Ekezie Dec 16, 2025
3e6aa66
fix(deps): install leaflet and react-leaflet
Uchechukwu-Ekezie Dec 16, 2025
0574cf2
test(utils): add unit tests for QR code generator and validation
Uchechukwu-Ekezie Dec 16, 2025
aa81449
feat(owner): integrate QR scanner into dashboard with result display
Uchechukwu-Ekezie Dec 16, 2025
0eafbd2
feat(booking): update BookingCard to use new QRCodeDisplay component
Uchechukwu-Ekezie Dec 16, 2025
947fe98
fix(booking): implement fetchBookings and add signature support in Bo…
Uchechukwu-Ekezie Dec 16, 2025
188389c
chore(test): setup Jest and install testing dependencies
Uchechukwu-Ekezie Dec 16, 2025
8bc9066
test(utils): fix QR generator tests to handle string output
Uchechukwu-Ekezie Dec 16, 2025
c68f92f
chore(deps): update reown and wagmi dependencies
Uchechukwu-Ekezie Dec 16, 2025
3e934bd
chore(deps): install porto to fix build error
Uchechukwu-Ekezie Dec 16, 2025
409e832
fix(frontend): resolve import errors in useRewards and booking page
Uchechukwu-Ekezie Dec 16, 2025
b11bc61
chore(deps): add pino-pretty to resolve build error
Uchechukwu-Ekezie Dec 16, 2025
23a66dc
Merge pull request #30 from Uchechukwu-Ekezie/feature/dispute-resolut…
Uchechukwu-Ekezie Dec 16, 2025
25f698f
feat: updated the social feed
Uchechukwu-Ekezie Dec 22, 2025
921dacd
Merge pull request #31 from Uchechukwu-Ekezie/feature/dispute-resolut…
Uchechukwu-Ekezie Dec 22, 2025
15cfc8c
Delete DISPUTE_RESOLUTION_SUMMARY.md
Uchechukwu-Ekezie Dec 23, 2025
20ddc4b
Delete REWARDS_SYSTEM_SUMMARY.md
Uchechukwu-Ekezie Dec 23, 2025
6bb667f
Delete BOOKING_SYSTEM_SUMMARY.md
Uchechukwu-Ekezie Dec 23, 2025
f696ccf
feat: implement new directory structure
Uchechukwu-Ekezie Dec 26, 2025
0a7b99b
docs: add SECURITY.md
Uchechukwu-Ekezie Dec 26, 2025
99b896e
docs: add CODE_OF_CONDUCT.md
Uchechukwu-Ekezie Dec 26, 2025
ef4de5a
docs: add CONTRIBUTING.md
Uchechukwu-Ekezie Dec 26, 2025
821b59a
docs: add LICENSE
Uchechukwu-Ekezie Dec 26, 2025
be8f43e
docs: add PULL_REQUEST_TEMPLATE.md
Uchechukwu-Ekezie Dec 26, 2025
823bd26
docs: add bug_report.md
Uchechukwu-Ekezie Dec 26, 2025
7d19a07
docs: add feature_request.md
Uchechukwu-Ekezie Dec 26, 2025
a885f4c
feat: add next.config.js
Uchechukwu-Ekezie Dec 26, 2025
2dccf99
feat: add tailwind.config.js
Uchechukwu-Ekezie Dec 26, 2025
6fdb0ff
feat: add postcss.config.js
Uchechukwu-Ekezie Dec 26, 2025
959b5be
feat: add .env.example
Uchechukwu-Ekezie Dec 26, 2025
db3bce4
feat: add .gitignore
Uchechukwu-Ekezie Dec 26, 2025
a1a0a4a
feat: add next-env.d.ts
Uchechukwu-Ekezie Dec 26, 2025
8f9bcc7
feat: add .editorconfig
Uchechukwu-Ekezie Dec 26, 2025
7838f1a
style: add globals.css
Uchechukwu-Ekezie Dec 27, 2025
e134cc8
style: add Home.module.css
Uchechukwu-Ekezie Dec 27, 2025
15e0117
feat: add _app.tsx
Uchechukwu-Ekezie Dec 27, 2025
8999425
feat: add _document.tsx
Uchechukwu-Ekezie Dec 27, 2025
4c76ced
feat: add index.tsx
Uchechukwu-Ekezie Dec 27, 2025
f792174
feat: add hello api route
Uchechukwu-Ekezie Dec 27, 2025
342c981
feat: add favicon and vercel logo
Uchechukwu-Ekezie Dec 27, 2025
ab0c3f6
feat: add Header and Footer components
Uchechukwu-Ekezie Dec 27, 2025
f74560d
feat: add Layout component
Uchechukwu-Ekezie Dec 27, 2025
4e8989b
feat: use Layout component in _app.tsx
Uchechukwu-Ekezie Dec 27, 2025
f70fa68
feat: add constants
Uchechukwu-Ekezie Dec 27, 2025
5afbd0c
update
Uchechukwu-Ekezie Dec 27, 2025
94a03d7
test
Uchechukwu-Ekezie Dec 27, 2025
3e7ad95
update the app wallet connect feature
Uchechukwu-Ekezie Dec 28, 2025
45a4b78
neat
Uchechukwu-Ekezie Dec 28, 2025
e146ff4
Merge branch 'main' into feature/dispute-resolution-system
Uchechukwu-Ekezie Dec 29, 2025
9bcd970
Merge pull request #32 from Uchechukwu-Ekezie/feature/dispute-resolut…
Uchechukwu-Ekezie Dec 29, 2025
c92cad4
update
Uchechukwu-Ekezie Jan 1, 2026
503d95f
hel
Uchechukwu-Ekezie Jan 1, 2026
d5648e5
update
Uchechukwu-Ekezie Jan 1, 2026
adfc21e
Delete LICENSE
Uchechukwu-Ekezie Jan 11, 2026
171ea12
Update README.md
Uchechukwu-Ekezie Jan 11, 2026
140572c
fix: add @react-native-async-storage/async-storage dependency for Met…
Uchechukwu-Ekezie Jan 12, 2026
3a6ce95
Merge branch 'feature/dispute-resolution-system' of https://github.co…
Uchechukwu-Ekezie Jan 12, 2026
1261b1e
feat: update Header with modern design, navigation menu, and wallet i…
Uchechukwu-Ekezie Jan 12, 2026
5b81742
feat: redesign home page with hero section, features showcase, and im…
Uchechukwu-Ekezie Jan 12, 2026
753aebe
feat: update Footer with comprehensive links, social media, and moder…
Uchechukwu-Ekezie Jan 12, 2026
d06028d
Merge pull request #33 from Uchechukwu-Ekezie/feature/dispute-resolut…
Uchechukwu-Ekezie Jan 12, 2026
108c36d
Delete CODE_OF_CONDUCT.md
Uchechukwu-Ekezie Jan 14, 2026
3b91e4d
Delete CONTRIBUTING.md
Uchechukwu-Ekezie Jan 14, 2026
d05289a
add// version 2 : DisputeResolutionV2
orsinibear Jan 17, 2026
e6a8245
add// v2 : ParkingSpotV2
orsinibear Jan 17, 2026
ee33d16
add// v2 : PaymentEscrowV2
orsinibear Jan 17, 2026
048146f
edit parking interface
orsinibear Jan 22, 2026
54daf97
Merge pull request #1 from OrsiniBr/first
orsinibear Jan 22, 2026
30728a4
Merge pull request #2 from OrsiniBr/main
orsinibear Jan 22, 2026
08b3587
edit parkingSpotV2.sol, removing unnecesary functions and saving depl…
orsinibear Jan 22, 2026
29f2993
make it update congs instead of config
orsinibear Jan 22, 2026
d4eb94a
Merge pull request #3 from OrsiniBr/first
orsinibear Jan 22, 2026
ee760fd
Merge pull request #4 from OrsiniBr/main
orsinibear Jan 22, 2026
6a0076a
Merge pull request #5 from orsinibear/first
orsinibear Jan 25, 2026
72facbb
change: change directry of contribution
orsinibear Jan 28, 2026
ebc4a16
Merge pull request #7 from orsinibear/block
orsinibear Jan 28, 2026
008f42d
Merge pull request #34 from orsinibear/main
Uchechukwu-Ekezie Jan 29, 2026
d31dfa6
test: test case for DisputeResolutionV2Test
orsinibear Jan 29, 2026
009dc54
Merge pull request #10 from orsinibear/block
orsinibear Jan 29, 2026
ecdbdfc
Merge pull request #12 from orsinibear/main
orsinibear Jan 29, 2026
5ee27d0
fix: chang name of test file
orsinibear Jan 29, 2026
3809e48
Merge pull request #13 from orsinibear/block
orsinibear Jan 29, 2026
b33707e
Merge pull request #15 from orsinibear/main
orsinibear Jan 29, 2026
258bc57
add: add probable test file
orsinibear Jan 30, 2026
9403266
Merge pull request #16 from Uchechukwu-Ekezie/main
orsinibear Jan 30, 2026
242340b
Merge pull request #17 from orsinibear/main
orsinibear Jan 30, 2026
22e424b
apply: name the test ParkingSpotV2Test
orsinibear Jan 31, 2026
bd88702
Merge pull request #19 from orsinibear/block
orsinibear Jan 31, 2026
9edbab4
Merge pull request #21 from orsinibear/main
orsinibear Jan 31, 2026
87bef95
Merge pull request #22 from orsinibear/block
orsinibear Jan 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
38 changes: 38 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

## Type of change

Please delete options that are not relevant.

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

- [ ] Test A
- [ ] Test B

**Test Configuration**:
* Firmware version:
* Hardware:
* Toolchain:
* SDK:

## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ deployments/
*.temp
.cache/




83 changes: 0 additions & 83 deletions BOOKING_SYSTEM_SUMMARY.md

This file was deleted.

51 changes: 51 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# CarIn

Welcome to CarIn, a decentralized solution for finding and booking parking spots. This README provides the necessary details to get the project up and running on your local machine.

## Project Structure

- **/frontend**: Contains the Next.js application.
- **/smart-contracts**: Holds the Solidity smart contracts.

## Prerequisites

- **Node.js**: Version `18.17.0` or higher.
- **npm**: Version `9.0.0` or higher.

## Getting Started

To begin, clone the repository and install the required dependencies for both the frontend and smart contracts.

### Frontend Setup

Navigate to the `frontend` directory and run the following commands:

```bash
npm install
npm run dev
```

### Smart Contracts Setup

In the `smart-contracts` directory, set up your environment by creating a `.env` file with the required variables (e.g., `PRIVATE_KEY`, `MUMBAI_RPC_URL`). Then, run:

```bash
npm install
npx hardhat compile
```

## Available Scripts

### Frontend

- `npm run dev`: Starts the development server.
- `npm run build`: Builds the application for production.
- `npm run start`: Runs the production build.
- `npm run lint`: Lints the codebase.

### Smart Contracts

- `npx hardhat test`: Executes the test suite.
- `npx hardhat deploy --network mumbai`: Deploys contracts to the Mumbai testnet.

By following these instructions, you'll have a fully functional local environment for both the frontend and smart contracts.
113 changes: 0 additions & 113 deletions REWARDS_SYSTEM_SUMMARY.md

This file was deleted.

11 changes: 11 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Security Policy

## Reporting a Vulnerability

If you discover a security vulnerability, please report it to us as soon as possible. We appreciate your efforts to disclose your findings responsibly.

To report a vulnerability, please email us at [[email protected]](mailto:[email protected]). We will acknowledge your email within 48 hours and will work with you to resolve the issue.

We kindly ask you not to disclose the vulnerability publicly until we have had a chance to address it. We will do our best to resolve the issue as quickly as possible and will keep you updated on our progress.

Thank you for helping to keep our project secure.
Loading