a simple car manufacturing problem and the players involved in the process.
Deployment -
Smart Contract
- Remix - Online Ethereum IDE
- Truffle
- MyCrypto.com
Backend(Node.js)
-$ npm install -$ node app.js
Steps -
- Register Parts (eg. Wheels, engine etc..) You can register parts for Car manufacture.
- Get All Parts You can see all the available parts.
- Get Specific Part You can just select specific part.
- Change OwnerShip of a specific Part Only part owner can change the ownership, in this case part-owner will change part ownership to car manufacturer(Product-Owner).
- Register Product (eg. Cars) If All the required parts are owned by Car Manufacturer(Product Owner) than Car Manufacturer can register Car(Means Product).
- Get All Products You can see all the available Cars (Products).
- Get Specific Product You can see just specific Car(Product). 8.Change OwnerShip of a Specific Product(Car) Only Car Owner can transfer ownership to customer.
Postman Collection for refrence :: link - https://www.getpostman.com/collections/de09204f15c3b3b5c44f