how to write data on DAML Ledger from an external source. As per my knowledge, we can communicate DAML Ledger through DAML SC only for writing data on the ledger. So, how can we directly append external data sources to the Daml ledger? I’m aware that we can read data from an external source into the ledger. But I don’t know how to write on ledger?
The way by which you write on the ledger is by issuing commands through the Ledger API. Each command produces an event and certain event can have other event as consequences. Some events will create contracts, other will use them in some way, others will consume them. Ultimately, what you read through the Ledger API is the state the results from issuing those commands.
The Ledger API services page on our documentation can give you a better idea of how to interact with the ledger.
1 Like