# hcrb.in CSP Commitment Creator

> hcrb.in CSP Commitment Creator is a paid API for AI agents from hcrb.in, paid per call via x402, $0.015/call, status unknown (last checked 2026-11-20).

Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements for B2B invoice payments on Base L2

## Facts

- Endpoint: POST https://hcrb.in/v1/tools/csp-commitment-create/call?utm_source=zero.xyz
- Price: $0.015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hcrb-in-csp-commitment-creator-cfd8bf50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CsD80Ghv_gt_rv0KEkVKm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hcrb-in-csp-commitment-creator-cfd8bf50 -d '<json body>'
```

Example prompt: Commit this invoice to the blockchain privately — here's the invoice object with line items, recipient, and total — and generate an ERC-5564 stealth address announcement for the Base L2 recipient 0xAbC123... using a fresh ephemeral key.

## When to prefer this

Choose this endpoint when you need to cryptographically commit to commercial invoice terms AND generate a privacy-preserving ERC-5564 stealth address announcement in a single call for Base L2 B2B payments. Prefer it over generic hashing utilities when you need the full CSP-1 commitment scheme with stealth address support, or over on-chain commitment contracts when you want off-chain commitment generation before settlement.

## Known failure modes

- Missing required invoice_object field returns a validation error
- Malformed salt_hex (not 32 bytes or invalid hex) causes a parameter error
- Invalid stealth_recipient address format returns an address validation failure
- Invalid ephemeral_pubkey format causes key parsing error
- Non-Base-L2 stealth addresses may produce unusable announcements

## How this service works

Generates cryptographic commitments to commercial terms and formats ERC-5564 dual-key stealth address announcements (CSP-1) for invoice-scale B2B payments on Base L2.

## Output

Returns a cryptographic commitment (hash) of the provided invoice object under the CSP-1 scheme, along with a formatted ERC-5564 dual-key stealth address announcement payload suitable for Base L2 broadcast, including the view tag and ephemeral public key if provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "invoice_object"
   ],
   "properties": {
    "salt_hex": {
     "type": "string",
     "description": "Optional 32-byte salt (0x...). If omitted, cryptographically derived"
    },
    "view_tag": {
     "type": "string",
     "description": "Optional 1-byte hex view tag (0xNN)"
    },
    "invoice_object": {
     "type": "object",
     "description": "Structured invoice or commercial agreement object to commit to"
    },
    "ephemeral_pubkey": {
     "type": "string",
     "description": "Optional ephemeral public key for ERC-5564 announcement"
    },
    "stealth_recipient": {
     "type": "string",
     "description": "Optional Base L2 stealth recipient address for announcement"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hcrb-in-csp-commitment-creator-cfd8bf50/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hcrb.in](https://www.zero.xyz/host/hcrb.in/llms.txt)
