Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/How to write data on DAML Ledger from external sourceForum ↗

How to write data on DAML Ledger from external source

App Development2 posts208 views1 likesLast activity Feb 2022
IQ
Iqra_Mustafa1OP
Feb 2022

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?

ST
stefanobaghino-da
Feb 2022

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.

← Back to Discussions