Skip to content

Crate Structure

The Cargo workspace has five members: froglet-protocol, froglet-publish-engine, froglet-verify, froglet-wasm, and the node crate froglet at the repository root. The other directories below are not workspace members.

PathWhat it is
froglet-protocol/The kernel: artifacts, canonical JSON, signing, verification. Builds for wasm32.
froglet-verify/The offline verifier: library, CLI, and WebAssembly build.
froglet-wasm/The signing half of the kernel for browsers: WebAssembly bindings that sign the five free-deal artifacts, canonicalize JSON, and hash JSON and bytes. It runs the playground.
src/ and tests/The reference node and author CLI, froglet-node, with its tests.
froglet-publish-engine/The plan-then-approve publishing pipeline shared by the CLI and the MCP bridge.
python/froglet-verify/An independent, zero-dependency Python verifier and conformance runner.
conformance/The frozen vectors and the rules a conforming runner must assert.
examples/wasm-services/Sample froglet.wasm.run_json.v1 services in their own workspace, built for wasm32. The playground’s editor starts from AssemblyScript ports of them.
integrations/mcp/froglet/The JavaScript MCP server for agent hosts.
integrations/openclaw/froglet/The OpenClaw and NemoClaw plugin.
integrations/shared/froglet-lib/The HTTP client shared by the plugin and the MCP server.

The single source of truth for kernel types. Independently reimplementable.

ModulePurpose
canonical_jsonRFC 8785 JCS canonicalization
cryptosecp256k1 BIP340, SHA-256, HMAC
protocol/kernelSignedArtifact, all 6 payload types, verify/sign
protocol/chainFull artifact-chain validation
protocol/publicationCuratedList types
protocol/identity_attestationDNS and OAuth/OIDC identity attestation wire types
manifestParser and validator for froglet.toml and froglet-service.toml
publication, managed_publication, managed_deploymentPublication authoring, provider-control, and managed-publication contracts
file_downloadThe application-level immutable file package; no kernel artifact changes
oci_workerThe wire contract for isolated OCI execution workers
ExecutionRuntimeEnum shared across crates

Its dependencies are listed in froglet-protocol/Cargo.toml.

The node framework. Re-exports kernel types from froglet-protocol.

LayerModules
Coreexecution (BuiltinServiceHandler), identity, identity_custody, protocol/workload
Settlementsettlement, lnd, pricing
Executionsandbox, wasm*, python_sandbox, oci, oci_worker, confidential
Transporttls, tor, nostr, relay_tunnel
Policyprovider_policy (operator policy and allowances), requester_budget (requester spend ledger)
Publication and filesmanaged_publication, managed_registry, file_download
Runtimeapi/*, cli/*, server, config, state, db, deals, jobs

The default public marketplace uses Froglet’s public marketplace integration contract.