Car ownership, maintenance and revisions traceable through smart contracts. Files are stored on a decentralized way through IPFS
This application allows users to create cars (ERC721 tokens) and add events with facts and proofs that demonstrates the record of maintanance of a given car.
-
It uses open-zeppelin ERC721 safe implementation and builds the contract on top of that.
-
The contract has custom modifiers and events.
-
It has truffle support.
-
The contract is well tested.
-
Documents are stored in IPFS. The urls of the files are stored in the smart contract state variables.
-
A user logs into the web app, linked with the Ethereum account.
-
The user can type car data and upload a car picture and mint a new token. File is stored on IPFS.
-
The user can add a new car event with fields and a file attached to the event.
-
The user can see its cars.
-
The user can see its car events.
Compile: truffle compile
Migrate: truffle migrate
Test contracts: truffle test
Running the project:
# run ganache locally at port 8545
truffle test
truffle migrate
cd client
yarn start