sorcha-cli

Build and maintain the Sorcha CLI for distributed ledger management.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/StuartF303/Sorcha --skill sorcha-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sorcha-cli
Source: https://github.com/StuartF303/Sorcha/tree/main/.claude/skills/sorcha-cli
Command: npx skills add https://github.com/StuartF303/Sorcha --skill sorcha-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Sorcha CLI provides a structured, consistent way to manage the Sorcha distributed ledger platform from the command line. It streamlines tasks such as authentication, profile configuration, register and transaction workflows, and API interactions, enabling rapid operational control and automation.

Core Features & Use Cases

  • CLI-driven management: Create, configure, and operate profiles, registers, dockets, and queries using a unified command structure.
  • Two-phase register workflow: Supports the cryptographic attestation flow for secure register creation, including initiation, signing, and finalization.
  • API integration: Uses Refit-based clients to communicate with Sorcha services and retrieve or submit data from scripts or CI pipelines.

Quick Start

Install the Sorcha CLI as a .NET global tool and verify installation: dotnet tool install -g sorcha.cli sorcha --version Begin by listing available commands: sorcha --help

Frequently Asked Questions about sorcha-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage the Sorcha distributed ledger platform from the command line?

The Sorcha CLI provides command-line management for authentication, profile configuration, registers, and API interactions with the Sorcha distributed ledger. Install it as a .NET global tool with `dotnet tool install -g sorcha.cli`, then use `sorcha --help` to list available commands for operational control across local environments and CI pipelines.

How do I create registers with the Sorcha CLI's two-phase workflow?

The Sorcha CLI supports a two-phase register creation workflow that includes initiation, cryptographic signing, and finalization steps. This secure attestation flow enables you to create and manage registers through distinct command phases, ensuring proper authentication and validation before register deployment.

Can I use the Sorcha CLI in CI pipelines for automated API interactions?

Yes. The Sorcha CLI integrates Refit-based API clients to communicate with Sorcha services and supports scripted workflows in CI pipelines. You can retrieve and submit data programmatically, enabling automation of authentication, profile management, and register operations across deployment stages.

What frameworks and libraries does the Sorcha CLI use?

The Sorcha CLI is built with System.CommandLine 2.0.2 for command patterns, Refit for API client integration, and Spectre.Console for rich console output. These dependencies provide structured command handling, type-safe HTTP client generation, and enhanced terminal formatting for operational commands.

Do I need .NET installed to use the Sorcha CLI?

Yes. The Sorcha CLI is a .NET global tool, so you need .NET runtime installed on your system. Install it as a global tool using the dotnet CLI, then access the `sorcha` command directly from your terminal in any project or environment.