Demo the Daml Extension¶
Follow these steps to demonstrate the new functionality in the Daml application:
- Open an incognito browser and navigate to
localhost:5173
(or the designated localhost). - Log in as
alice
. Remember to use all lowercase. - In Alice’s browser, request an account.
- Open a second incognito browser and navigate to
localhost:5174
. - Login as
provider
. - In the provider’s browser, request an account.
- Request a deposit.
- Fulfill the deposit request.
- Create a transfer offer. Remember to copy Alice’s ID and paste her identification in the “Receiver” field.
- Return to Alice’s browser. Select the “Transfer Offers” option in the menu.
- Alice should now see an incoming transfer offer.
- Select “REJECT” to deny the offer.
- Enter a reason for the rejection in the “Reject Transfer Offer” dialog modal.
- The transfer offer is archived and listed in the new “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.