Settlement error in description?
- shlegerOP 1
I think here is an error in description, please look here
https://digital-asset.github.io/daml-finance/tutorials/getting-started/settlement.htmlAlice and Bob should be exchanged:
Alice creates a Dvp.Proposal template to propose the exchange of the TOKEN against USD.
dvpProposalCid <- submit **bob** do createCmd DvP.Proposal with id = "xccy trade" recQuantity = Instrument.qty 10.0 tokenInstrument payQuantity = Instrument.qty 1000.0 usdInstrument proposer = bob counterparty = alice routeProviderCid settlementFactoryCidBob then accepts the proposal, agreeing to the terms of the trade.
(batchCid, recSettleInstructionCid, paySettleInstructionCid) <- submit **alice** do exerciseCmd dvpProposalCid DvP.AcceptOnce the proposal is accepted, three contracts are created:
- Mate_Varga
Hi @shleger,
Thanks for reporting! The digital-asset.github.io pages are no longer the official documentation of Daml Finance as it was release as GA as part of Daml. The new location of the documentation is on the docs.daml.com site: Settlement — Daml SDK 2.5.3 documentation