Build AppsΒΆ

This section describes how CCF applications can be developed and deployed to a CCF network.

Tip

The ccf-app-template repository can be used to quickly build and run a sample CCF application and provides a minimal template to create new CCF apps.

Applications can be written in JavaScript/TypeScript or C++. An application consists of a collection of endpoints that can be triggered by Users. Each endpoint can define an API Schema to validate user requests. Native applications can also be written in Rust using an experimental interface, which exposes a reduced API and does not support API schemas.

These endpoints can read or mutate the state of a unique Key-Value Store that represents the internal state of the application. Applications define a set of Maps (see Key-Value Store How-To), mapping from a key to a value. When an application endpoint is triggered, the effects on the Store are committed atomically.

Get Started: Application Development using CCF.

Install CCF on Linux.

Sample CCF application written in C++.

Minimal native CCF application written in Rust (experimental).

Sample CCF application written in TypeScript, using the API specified in ccf-app.

Description of the bundle format for JS applications in CCF.

Building a CCF application.

Running a CCF application demo in a sandbox environment.

User authentication mechanisms in CCF.

Transactional access to state is provided by the Key-Value store.

C++ API reference.

Rust API reference (experimental).

CCF release cadence and compatibility commitments.

Prepare applications and deployments for CCF 8.x.

Migrate from forwarding (deprecated) to redirect (recommended) endpoints.