Skip to content
CCPEDIAby Unity Nodes
VideosDaml Wallet Sample App Video Walkthrough

Daml Wallet Sample App Video Walkthrough

Nothing is loaded from YouTube until you press play, and then without tracking cookies.

About this video

⭐The app is also running live at bit.ly/damlwalletapp ⭐To sign in to the app running live at the above URL, use your Daml Hub credentials. To create a free Daml Hub account at https:/hub.daml.com ⭐The source code is available on github.com/digital-asset/wallet-sample-app ⭐Read more about the wallet ref app at: bit.ly/blog_daml_wallet_app

Transcript

1,131 words

Captions as YouTube publishes them, usually machine-generated, so names such as Daml and Canton can be misheard.

  1. 0:00

    hello everyone welcome to another damel training and education Team video the following video is a walkthrough of a reference application intended to help demo Learners understand how to code some of the major functions and common constructs provided within many demo applications the use case of the reference application is based on a digital wallet for asset exchange you'll start the application which is hosted on the

  2. 0:23

    Daniel Hub our hosted runtime environment by navigating your browser to wallet.damil.app but before you start to use it you'll need an account on demo hub if you already have one use it to Lodge into the wallet app if you don't have a demo Hub account you'll be guided to the demo Hub homepage where you can register for a free account once you have your account credentials you'll use them to log into the wallet app now let's have Max give you a

  3. 0:48

    walkthrough hi I'm Max again the purpose of the wallet app is to provide a working example that gives developers a more Interactive Learning Journey and concrete learning examples utilizing common workflows of digital asset exchanges I've logged in here and on the right hand side we have an active guide which will walk you through all the step-by-step workflows related to digital asset exchanges such as issuance

  4. 1:12

    transfers Atomic swaps and more you'll also see that we've integrated additional learning info at each screen and at each workflow with live links to docs to better assist The Learning Journey for example if I click on the top right hand side here you can see the party ID and you can also see what it is and what it's used for now in this demo I will show you four workflows account creation asset

  5. 1:36

    issuance ownership transfer and atomic swaps let's start with the first one account creation or account issuance the issuance of an asset involves two steps so let me go and click on the create button here to create an asset type first I need to give it a name sits on the issuer I will just call this Max coin this is similar to creating a currency account at a bank now let me go ahead and hit create once that's been created I want to do

  6. 2:06

    the Second Step which is to issue some quantity of Max coin to myself so you can see at the start we have a balance of zero and I'll go ahead and give myself 100 Max coin by clicking on the issue slash airdrop button now once we've completed this issue with workflow you can see that my balance is updated right here I can also send the tokens to another user let's start to do the ownership transfer workflow to accomplish this on the right hand side of the screen I'm going to be minimizing this browser

  7. 2:39

    window a little bit so that I can Expose and simulate a second user running on a separate device this user has a different party ID and is using the app on a mobile device so here you see both users each with different party IDs one using a browser in the second on an iPhone in order for the right hand side user to receive my newly created Max coin the right hand side user needs to be a Max coin account holder so as the issuer I

  8. 3:05

    can invite the right hand side user using that iPhone user's party ID so clicking on the top I can copy and paste the party ID then going back to the left hand side this is the account page I can just click invite and paste the recipient ID here hit send now on the right hand side you will soon see a pop-up and you can see that there is an account invitation I'll go ahead and simulate user 2 accepting the invitation once they've accepted that let's go back

  9. 3:37

    to my account and I will be able to see maxcoin with a balance of zero let's go to our Max coin you can see that I have 100 at the moment and let's go ahead and click Send and I can paste the party ID into 90. so once I've sent that on the right hand side you'll be able to see an asset transfer invitation and what I'll have to do is that I will have to accept the transfer request now that it's been accepted we can go

  10. 4:22

    back to the my asset accounts and we can see a balance of 90. finally let's go through the swap workflow and here I've created an asset account called rare assets with a quantity of five and I'll do this swap workflow with the user admin because the user admin accounts has some acceptance Automation in the back end side take a look here at the top we have an example token account with a balance of zero and we're going to be swapping our rare

  11. 4:53

    assets for some example tokens so as the issuer of the rare assets I can go ahead and go in there and just hit swap the app also provides a convenient feature for simulating a second user known as the default party which allows you to connect to the app's user admin without knowing the party ID and then I can say I want to swap all my rare asset accounts 5 for some example token and I believe it's worth 1 000 example tokens and here again there's another learning

  12. 5:24

    blurb on how the atomic swaps work but I will let you go and explore that yourself let me click on request swap now what happens is on the user admin side it will automatically accept this swap so when I go back into my asset account I'll see a newly updated balance of example tokens which should reflect 1000 which is what I requested and zero where assets left 1 000 example tokens

  13. 5:51

    and I've swapped out all my rare assets this concludes the swap workflow one thing to note is that when you access this app on mobile you can also access the learning material or the guide on the right hand side by clicking on the question mark and as a title to hide or unhide so that concludes the walkthrough of the sample wallet application built using Daniel I encourage you to run the live application yourself at wallet.damil.app and remember the full source code to the

  14. 6:22

    app is on GitHub at github.com Digital dash asset slash wallet sample Dash app also take a look at the additional damil training resources shown on this page thanks for watching and let us know how you liked this video