A market to sell your car, or buy a new car in the blockchain
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.
- Frontend: Next.js, Typescript, Tailwind
- Backend: Solidity, Truffle, Ganache
First, run ganache locally, in my case I run it in the terminal.
$ ganacheAfterwards we migrate the contracts using truffle
$ truffle console
> migrateWe also have to spin up the jsipfs deamon so store our files.
$ jsipfs daemonLastly we navigate to the client directory, and install all the packages and spin up the frontend.
$ cd client/
$ npm install
$ npm run dev