๐Ÿ’ปLaunching Guardian

Once http://localhost:3000 is launched, we need to first generate Operator ID and Operator Key by clicking on Generate button as shown below:

Note: If OPERATORID and OPERATOR KEY are added in .env file, we can click on Generate button directly without entering the details again in the UI.

Once you generated Operator ID and Operator Key, we can either click on Next or restore the Data, by selecting Restore Data from the Next button dropdown to setup Registry as shown below.

Note: Restore Data can be restored from Hedera if data is available for setting up the Registry.

Limitations on restoring the data: 1. The state of policy workflows is not persisted onto any decentralised storage used by Guardian (such as IPFS and/or Hedera blockchain), and therefore not available for restoring. This means that while all artifacts produced by projects and their respective Policy workflows will be discovered and made accessible through the restored Guardian, the policy execution state will not be restored.

2. Similarly, dynamic filled โ€˜optionsโ€™ from VCs is not available at restoration time. This results in the limitation that some document grids will not be restored.

If Next is clicked, we need to manually setup the Registry or if Restore Data is clicked, it is filled automatically.

Note: The above fields in UI are mandatory only for this default Schema.

The Format of the Standard Registry Hello World Message is as follows:

{
	'type': 'Standard Registry',
	'status':'ISSUE'
	'id': '35c5d340-1a93-475d-9659-818bb77d45df',
	'did': 'did:hedera:testnet:vzN41A2bMhvYGhg7oCMoo5UAzQ6PCTq4VTQaNPE1uPG;hedera:testnet:tid=0.0.3423402',
	'action': 'Init',
	'topicId': '0.0.34234020',
	'lang': 'en-US',
    'attributes' : {
    	'ISIC': '051 062',
    	'geography' : 'USA CAN EU AUS',
    	'law': 'USA',
    	'tags': 'VERRA iREC'
  }
}

Where the list of attributes is extendable, and all attributes in it are optional.

Standard Registry Message Parameters

ParameterPurposeExample

type

Account Type

Standard Registry

status

status of the message

ISSUE

id

Message ID

35c5d340-1a93-475d-9659-818bb77d45df

did

Hedera DID

did:hedera:testnet:vzN41A2bMhvYGhg7oCMoo5UAzQ6PCTq4VTQaNPE1uPG

action

Action Type

Init

topicId

Standard Registry Message Topic ID

0.0.34234020

lang

Language

ENG

ISIC

ISIC code

051

geography

Location

USA

law

Country Law

USA

tags

Policy Tags

Verra, iREC

INITIALIZATION_TOPIC_ID for different Hedera Networks

NetworkINITIALIZATION_TOPIC_ID

Mainnet

0.0.1368856

Testnet

0.0.2411

Previewnet

0.0.10071

Last updated