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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.