Invoke the Smart Contract
Invoke your smart contract
Issue an insurance
Assume you are in Smart Insurance, you want to open a new insurance for your client Oscar for his goods with serial number '121214'.
In terminal 3
You should see the following output
Report to the insurance
Now, assume Oscar's good with the serial number '121214' is broken in an accident and reported to the police. Now you are Jack, a user from the police, and want to confirm Oscar's lost.
In terminal 2,
Refund for the insurance
Finally, Oscar reports his loss to Smart Insurance. Now you are Tom, the user from Smart Insurance, and announce that you going to compensate for Oscar's lost.
In terminal 3,
Last updated