Re: Transaction / Assets #database
toggle quoted messageShow quoted text
In Hyperledger Fabric, data is already stored as a key-value representation. You can model the value structure as you please. For example:
The following link provides an example of representation:
In the fabcar chaincode, you can see that the car data is modeled using a Go struct and then marshaled into a JSON to serve as the value which is passed as argument to PutState(key, value):
Hope it sheds some light on your problem.
CTO @ GoLedger
On 12 Jul 2022 09:54 -0300, FemGeek <femgeek.massey@...>, wrote:
Hello, I'm troubled about how to represent RCM Healthcare claim payments from payer as assets. How can I design the data to represent a key-value pair on the ledger.