Demo the Daml Extension

Follow these steps to demonstrate the new functionality in the Daml application:

  1. Open an incognito browser and navigate to localhost:5173 (or the designated localhost).
  2. Log in as alice. Remember to use all lowercase.
  3. In Alice’s browser, request an account.
Alice accounts view
  1. Open a second incognito browser and navigate to localhost:5174.
  2. Login as provider.
  3. In the provider’s browser, request an account.
Provider accounts view
  1. Request a deposit.
Provider request a deposit
  1. Fulfill the deposit request.
Provider deposit requests view
  1. Create a transfer offer. Remember to copy Alice’s ID and paste her identification in the “Receiver” field.
Provider transfer offer view
  1. Return to Alice’s browser. Select the “Transfer Offers” option in the menu.
  2. Alice should now see an incoming transfer offer.
Alice transfer offers view
  1. Select “REJECT” to deny the offer.
  2. Enter a reason for the rejection in the “Reject Transfer Offer” dialog modal.
Rejection reason modal
  1. The transfer offer is archived and listed in the new “Rejected Offers” table.
Rejected offers table

Summary

You are now equipped with the knowledge to extend single domain Daml applications. You have:

  • Defined a new choice
  • Updated the backend service
  • Created API handlers
  • Implemented interactive components to extend the quickstart application

Congratulations! Reach out on the Daml Forum to tell us you completed the Single Domain Quickstart Tutorial! The Daml Forum is an excellent place to ask questions and request assistance. The Daml documentation is always live, as well.