canton-sdk-generator

Official

Auto-generate Canton API and React hooks.

AuthorMoonsong-Labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill addresses the tedium and error-prone nature of manually wiring a Canton API and React hooks from Daml JS bindings, enabling automated generation and consistency across projects.

Core Features & Use Cases

  • Auto-generates a typed Canton API (including template namespaces, Payload types, and choice functions) and a React hooks layer from your Daml JS bindings.
  • Discovers Daml projects in a workspace, builds DARs, and resolves dependencies to produce a complete SDK without manual configuration.
  • Validates TypeScript types and outputs a ready-to-use SDK with guidance docs and a predictable API surface.

Quick Start

Run the canton-sdk-generator against your Daml workspace to generate the API and React hooks.

Dependency Matrix

Required Modules

typescript

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: canton-sdk-generator
Download link: https://github.com/Moonsong-Labs/canton-dev/archive/main.zip#canton-sdk-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.