cardemo

command module
v0.0.0-...-cb488ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

README

CarDemo manufacturer to an owner life cycle chaincode using Golang

#Exercise - 1 Write a smart contract that tracks a car from a manufacturer to an owner. When the car is manufactured by the manufacturer it is CREATED state. After it is delivered to a dealer it will be in READY_FOR_SALE state. Once it is sold to a customer it will be in SOLD state. Car can only be manufactured by a manufacturer. Can only be sold by a dealer.

#Exercise - 2 : Write API to call the smart contract.

#Exercise - 3 : (optional) Write test cases. Can be automated or manual

Documentation

Overview

SPDX-License-Identifier: Apache-2.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL