Calimero mero-devtools-js

Developer tools for building Calimero applications — ABI code generation and project scaffolding.

2
tools
CLI
interface
TS
output
ABI
v1 format

Tools

1

calimero-abi-codegen

Parse a WASM ABI v1 manifest and generate a fully-typed TypeScript client class. One command, zero boilerplate.

calimero-abi-codegen -i abi.json -o src/generated

CLI Reference →    Programmatic API →

2

create-mero-app

Scaffold a new Calimero application from a template. Interactive prompts, GitHub clone, git init.

npx create-mero-app

create-mero-app docs →

Codegen Pipeline

abi.json WASM ABI v1 methods · events · types Parser JSON Schema validation AbiManifest Generator type + client emit generateClient() TypeScript Client interfaces + class + methods KvStoreClient.ts

Quick Start

1

Install

npm install @calimero-network/abi-codegen
2

Generate

calimero-abi-codegen \
  -i abi.json \
  -o src/generated
3

Use

import { KvStoreClient } from './generated/KvStoreClient';
const c = new KvStoreClient(sdk.rpc, ctxId, execId);
await c.getValue('my-key');

Package Structure

This monorepo contains three packages:

@calimero-network/abi-codegen
ABI parser, TypeScript generator, and calimero-abi-codegen CLI. Published to npm.
create-mero-app
Project scaffolding CLI — npx create-mero-app. Clones templates from GitHub.
codegen-example
Reference example showing generated output for the ABI conformance test fixture.