Skip to content

brumarq/CarChain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CarChain

A market to sell your car, or buy a new car in the blockchain

Screenshot 2023-03-31 175843

Description

Second-hand car sales in the Netherlands can be problematic due to inaccurate representations of the vehicle, hidden defects, and fraudulent odometer readings. Payment disputes can also arise between private individuals, exacerbating the issue.

Technologies

  • Frontend: Next.js, Typescript, Tailwind
  • Backend: Solidity, Truffle, Ganache

Usage

First, run ganache locally, in my case I run it in the terminal.

  $ ganache

Afterwards we migrate the contracts using truffle

  $ truffle console
  > migrate

We also have to spin up the jsipfs deamon so store our files.

  $ jsipfs daemon

Lastly we navigate to the client directory, and install all the packages and spin up the frontend.

  $ cd client/
  $ npm install
  $ npm run dev

About

Second-hand car sales in the Netherlands can be problematic due to inaccurate representations of the vehicle, hidden defects, and fraudulent odometer readings. Payment disputes can also arise between private individuals, exacerbating the issue.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors