feknall / Hyperledger-FL

4 stars 0 forks source link

Write something to the ledger #3

Closed feknall closed 2 years ago

feknall commented 2 years ago

Try to write something to the ledger using an agent to make sure everything works.

feknall commented 2 years ago

In order to write something to the ledger, the agent must have a Public DID. I have created a DID using the /wallet API, then switched to the von-network web interface, and entered this public DID manually. By doing that, this DID will be published to the ledger. Then, the agent can use this DID to do operations that need write access.

feknall commented 2 years ago

Do these steps:

  1. POST /wallet/did/create
  2. Go to the von-network web interface and enter the response of the previous step
  3. POST /wallet/did/public

Then, you can call functions related to SCHEMA or etc.