Setting up all of the required demo assets

The first function that we are going to execute on the transaction is the setupAssets function. This function creates the demo assets used in the upcoming transactions. The chaincode function creates the following demo assets, which we are going to use:

Type

Identification

Description

Registrant

9081237645

Participant: AutoLease

Registrant

170632064

Participant: J. Smith

Emergency Services

NYPD 34th Precinct

Participant: New York Police

Insurer

AllSecur Insurance

Participant: AllSecur Insurance

Insurer

AXA Insurance

Participant: AXA Insurance

RepairShop

USA Automotive NYC

Participant: USA Automotive, New York

RepairShop

USA Automotive ...

Get Blockchain across Oracle now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.