Prerequesite Steps

Prior to creating a policy there are a few steps that need to be done first. Please see below for the prerequesite steps:

New Standard Registry registration

POST /api/v1/accounts/register

Request Body

{
  username: string
  password: string
  password_confirmation: string
  role: string
}

Login

POST /api/v1/accounts/login

Request Body

```typescript
{
  username: string
  did: any
  role: string
  accessToken: string
}
```

Hedera account creation

GET /api/v1/demo/randomKey

{
    
	"id":"0.0.29511776",
	"key":"302e020100300506032b6570042204200c8d2abbdd9aee64eed6e4891c276aa50248ab182c0cd7dfbec8506e5eaaaef8"

}

Address book creation

PUT /api/v1/profile

Request Body

iRec schema creation

POST /api/v1/schemas

Request Body

{
    ...
	{
		"id":"61ee7ecd9c02660014fa662e",
		...
	}
}

iRec schema publish

PUT /api/v1/schemas/61ee7ecd9c02660014fa662e/publish

Request Body

Token creation

POST /api/v1/tokens

Request Body

{
    
		"id":"61ee817b9c02660014fa662f",
		"tokenId":"0.0.29511821",
		...
	
}

Last updated