Quickstart Tutorial: Installation
Nothing is loaded from YouTube until you press play, and then without tracking cookies.
About this video
This video provides a step-by-step guide to installing the Canton Network Quickstart on LocalNet — perfect for developers looking to explore blockchain application development on the Canton Network.
You’ll learn how to: ~ Set up and configure the Canton Network Quickstart environment ~ Deploy a LocalNet with a simulated Global Synchronizer
The Canton Network Quickstart is a ready-to-use template that accelerates development by providing a fully functional environment, ideal for experimenting, learning, and building scalable blockchain applications.
Documentation URL: docs.digitalasset.com/build/3.3/quickstart/download/cnqs-installation.html#artifactory
Transcript
391 wordsCaptions as YouTube publishes them, usually machine-generated, so names such as Daml and Canton can be misheard.
- 0:00
If you are building a Canton network application, start with this quick start. It is a template for an application that provides a simulated global synchronizer, a build environment to kickstart development, and a sample application that you can use to evolve into your own application. The first step is to clone the Git repo to a location where you want to save the quick start project and ensure that all prerequisites are complete.
- 0:33
In JROG, follow the steps to generate an identity token. Ensure that you do not close the token modal until you have successfully added the details to the global net C file. Make sure to add the tilda character so it references the file in your home directory where the global netc file indicates password. That is where you will insert the generated reference token.
- 1:03
Once confirmed, you will also want to manually set the permissions and check for artifactory connectivity. An okay response indicates a successful connection. If you receive a 401 or 403 error, revisit your global netc file to ensure the token details match those in JROG and that it is located in the root directory.
- 1:37
CD into the CN quick start folder and ensure DURV vallow has been activated to initiate Nyx. We are set up now. Let's run the Docker desktop. Hop into the quick start subdirectory and install the DAML SDK. In a few minutes, run make setup to set up the local environment configuration.
- 2:12
Disable observability, but enable OOTH 2, leave the party hint blank, and disable test mode. This can always be changed later. If you encounter issues, double check to ensure your computer has sufficient memory and that at least 8 GB is allocated for Docker. Now, run make build to build the application.
- 2:51
Before starting the containers, enable the collection of logs into a single directory named log using the command make capture logs. Then open another shell window to complete the process with the command make start. Once complete, you may open the application in any browser. To test that everything is working, we'll start a Canton console and the DAML shell, both in their own separate shells.
- 3:26
A summary of these steps can be found at the FastPath installation page. And there you have it. You have completed the installation of the Canton network quickart.