{"id":"sMvsOUnlY_w","title":"Deploy your DAR on the Canton LocalNet","description":"The Finale: Deploying a DAR file of Daml Contracts on the Canton LocalNet.\n\nBuild your project with dpm, then:\n\ncanton builder deploy ./your-project/.daml/dist/your-project-0.0.1.dar\n\nThe DAR is uploaded to the App Provider and App User validators, and the CLI prints your package ID and the template ID format for API calls. \n\nThanks for watching the series! If you build something with it, I'd love to see it at our official Canton Forum Outreach Category.\n\nCanton Forum: https://forum.canton.network/\n\nRepo: https://github.com/canton-network-devs/Canton-Builder-Tool\n\nDevHub: https://dev-hub.canton.foundation/\n\n▶️ Full playlist:    • Build on the Canton LocalNet  \n\n← Part 7: Tour the Canton Builder CLI","channel_name":"Canton Foundation","published_at":"2026-11-17T00:00:00.000Z","thumbnail_url":"https://i.ytimg.com/vi/sMvsOUnlY_w/hqdefault.jpg","transcript_text":"Now we will see how you can actually deploy your sample TAML app or canton app on top of a local net validator. All we got to do is we will just simply come here Canton deploy. So we will we can upload a pre-built tar to any of the participants right canon builder deploy. Just a warning, I'm going to not type nothing else. I'm just going to type cantonu builder deploy. So it will give us a error. But the error will tell us exactly what is the next part of the command that we are missing. Once you click enter, it tells you the usage is Canton builder deploy name of the validator and the DAR file. For example, Canton bit builder deploy. This is the link of the DAR file. Or if you want to specifically deploy on a validator then you can click on canton builder deploy validator this is this and this is the link to the dar file. So what we're going to do is we can just use this particular format because it will just directly deploy on the web validators without thinking much ton deploy I have a data file available. So, I'm just going to go and fetch the link of that file in a minute. Let's see if this sample file that I have just moved to this folder, it's a totally sample DR file of a multi-party workflow. If this ends up deploying on top of the validator, the moment of truth, we'll click enter. Deploying DAR, checking validators, validators reachable, generating a token, token generated, uploading to app provider, uploaded to app provider, resolving packages. We have got a official package ID. Time to celebrate. Template ID is also available. Example API call that you can use with your builder token. Your token for API calls is this. Everything is available successfully. We have started the local net in only 58 seconds. And we have deployed a sample Canton app or a Tamil smart contract star file on top of your local net validator. That's the beauty of it. And we have completed the whole thing in just a few minutes. So that's how you can use the Canton builder tool to deploy and start your entire Canton network local net with all the facilities, validators, features, and whatnot in just a few me commands in three magical words. right away. So now everything is done. We just need to stop the whole Canon validator thing running in the background. Canon builder stop. So once you click Canon builder stop your uh well canon builder tool stopping local net local net stop data volumes preserved resume full wipe. If you want to wipe the whole thing you can just type C canon builder reset and it's going to be done. As you can see, canon builder reset totally delete the ledger. Done tear down all coin. That's as simple as that the whole setup. So, till next one. Bye.","transcript_synced_at":"2026-11-18T03:51:12.744Z","segments":[{"start_seconds":0,"text":"Now we will see how you can actually deploy your sample TAML app or canton app on top of a local net validator. All","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=0s"},{"start_seconds":9,"text":"we got to do is we will just simply come here","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=9s"},{"start_seconds":16,"text":"Canton deploy. So we will we can upload a pre-built tar to any of the participants right","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=16s"},{"start_seconds":24,"text":"canon builder deploy. Just a warning, I'm going to not type nothing else. I'm just going to type cantonu builder deploy. So","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=24s"},{"start_seconds":32,"text":"it will give us a error. But the error will tell us exactly what is the next part of the command that we are missing.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=32s"},{"start_seconds":40,"text":"Once you click enter, it tells you the usage is Canton builder deploy name of the validator and the DAR file. For","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=40s"},{"start_seconds":48,"text":"example, Canton bit builder deploy. This is the link of the DAR file. Or if you want to specifically deploy on a validator then you can click on canton","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=48s"},{"start_seconds":57,"text":"builder deploy validator this is this and this is the link to the dar file. So what we're going to do is we can just use this particular format because it","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=57s"},{"start_seconds":66,"text":"will just directly deploy on the web validators without thinking much ton deploy","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=66s"},{"start_seconds":77,"text":"I have a data file available. So, I'm just going to go and fetch the link of that file in a minute.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=77s"},{"start_seconds":91,"text":"Let's see if this sample file that I have just moved to this folder, it's a totally sample DR file of a multi-party","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=91s"},{"start_seconds":98,"text":"workflow. If this ends up deploying on top of the validator, the moment of truth, we'll click enter. Deploying DAR,","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=98s"},{"start_seconds":107,"text":"checking validators, validators reachable, generating a token, token generated, uploading to app provider, uploaded to app provider, resolving","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=107s"},{"start_seconds":115,"text":"packages. We have got a official package ID. Time to celebrate. Template ID is also available. Example API call that you can use with your builder token.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=115s"},{"start_seconds":124,"text":"Your token for API calls is this.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=124s"},{"start_seconds":127,"text":"Everything is available successfully. We have started the local net in only 58","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=127s"},{"start_seconds":134,"text":"seconds. And we have deployed a sample Canton app or a Tamil smart contract star file on top of your local net validator.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=134s"},{"start_seconds":144,"text":"That's the beauty of it. And we have completed the whole thing in just a few minutes. So that's how you can use the","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=144s"},{"start_seconds":151,"text":"Canton builder tool to deploy and start your entire Canton network local net with all the facilities, validators,","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=151s"},{"start_seconds":159,"text":"features, and whatnot in just a few me commands in three magical words. right away. So now everything is done. We just","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=159s"},{"start_seconds":167,"text":"need to stop the whole Canon validator thing running in the background. Canon builder stop. So once you click Canon","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=167s"},{"start_seconds":174,"text":"builder stop your uh well canon builder tool stopping local net local net stop data volumes preserved resume full wipe.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=174s"},{"start_seconds":185,"text":"If you want to wipe the whole thing you can just type C canon builder reset and it's going to be done.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=185s"},{"start_seconds":196,"text":"As you can see, canon builder reset totally delete the ledger. Done tear down all coin. That's as simple as that","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=196s"},{"start_seconds":206,"text":"the whole setup. So, till next one. Bye.","url":"https://www.youtube.com/watch?v=sMvsOUnlY_w&t=206s"}],"youtube_url":"https://youtube.com/watch?v=sMvsOUnlY_w","url":"https://ccpedia.xyz/videos/sMvsOUnlY_w"}