Add a new service, which can initialize the ACT history as a local JSON file in the config folder. This service needs to be able to add new entries and list the content of the JSON file.
JSON file format:
{
"private": [
{
"stampId": "1234567890abcdef",
"historyAddress": "1234567890abcdef",
"granteeListRef": "1234567890abcdef",
"operation": "init",
"createdAt": "2024-06-01T12:00:00Z"
},
{
"stampId": "1234567890abcdef",
"historyAddress": "1234567890abcdef",
"granteeListRef": "1234567890abcdef",
"operation": "grant",
"createdAt": "2024-06-01T12:00:00Z"
}
],
"family": [
{
"stampId": "1234567890abcdef",
"historyAddress": "1234567890abcdef",
"granteeListRef": "1234567890abcdef",
"operation": "init",
"createdAt": "2024-06-01T12:00:00Z"
},
{
"stampId": "1234567890abcdef",
"historyAddress": "1234567890abcdef",
"granteeListRef": "1234567890abcdef",
"operation": "grant",
"createdAt": "2024-06-01T12:00:00Z"
}
]
}
Add a new service, which can initialize the ACT history as a local JSON file in the config folder. This service needs to be able to add new entries and list the content of the JSON file.
JSON file format:
{ "private": [ { "stampId": "1234567890abcdef", "historyAddress": "1234567890abcdef", "granteeListRef": "1234567890abcdef", "operation": "init", "createdAt": "2024-06-01T12:00:00Z" }, { "stampId": "1234567890abcdef", "historyAddress": "1234567890abcdef", "granteeListRef": "1234567890abcdef", "operation": "grant", "createdAt": "2024-06-01T12:00:00Z" } ], "family": [ { "stampId": "1234567890abcdef", "historyAddress": "1234567890abcdef", "granteeListRef": "1234567890abcdef", "operation": "init", "createdAt": "2024-06-01T12:00:00Z" }, { "stampId": "1234567890abcdef", "historyAddress": "1234567890abcdef", "granteeListRef": "1234567890abcdef", "operation": "grant", "createdAt": "2024-06-01T12:00:00Z" } ] }