> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canton.network/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> If you are building a Canton Network application, start from https://docs.canton.network/appdev/quickstart.md. To run only a local network for your own Daml code, without building the QuickStart demo, see https://docs.canton.network/sdks-tools/development-tools/localnet.md.

# Building Applications

> Go from Daml smart contracts to full-stack Canton Network applications

Module 4 bridges the gap between writing Daml contracts and shipping a complete application. You will learn how Canton applications are structured, which SDKs and APIs are available, and how to build both backend and frontend components that interact with the ledger.

## Prerequisites

Before starting this module, you should have completed [Module 3: Daml Smart Contracts](https://docs.canton.network/appdev/modules/m3-dev-environment.md). You need a working understanding of templates, choices, and authorization in Daml. Familiarity with Java or TypeScript is helpful but not required.

The backend and frontend pages in this module use code from the [Canton Network QuickStart](https://docs.canton.network/appdev/quickstart.md). Install it and run the demo first, as described in [Prerequisites and Installation](https://docs.canton.network/appdev/quickstart/prerequisites.md) and [Running the Demo](https://docs.canton.network/appdev/quickstart/running-the-demo.md).

## What You Will Learn

* How Canton application architecture maps roles (App Provider, App User, End User) to infrastructure
* Which SDKs, APIs, and code generation tools are available for building against the ledger
* How to build a backend service that submits commands and reads transactions
* How to build a frontend that displays contract data and integrates with wallets
* How Canton Coin and traffic work from an application developer's perspective

## Module Pages

> [card] [Application Architecture](https://docs.canton.network/appdev/modules/m4-app-architecture.md)
>
> Roles, layers, and how the pieces of a Canton application fit together.

> [card] [SDKs and APIs](https://docs.canton.network/appdev/modules/m4-sdks-apis.md)
>
> Code generation, Ledger API, JSON API, PQS, and the Wallet SDK.

> [card] [Backend Development](https://docs.canton.network/appdev/modules/m4-backend-dev.md)
>
> Connect to the ledger, submit commands, read transactions, and query PQS.

> [card] [Frontend Development](https://docs.canton.network/appdev/modules/m4-frontend-dev.md)
>
> Build a React UI with generated TypeScript bindings and wallet integration.

> [card] [Canton Coin and Traffic](https://docs.canton.network/appdev/modules/m4-canton-coin.md)
>
> Understand how CC buys traffic and how to manage transaction costs.
