Orynq SDK
Developer SDK for Orynq anchoring and verification
The Orynq SDK provides tools for anchoring AI process traces to the Cardano blockchain and verifying those anchors. It supports both direct integration and a managed Anchor-as-a-Service API.
Orynq is the umbrella platform for AI verification and attestation services, with process-trace anchoring as its core capability. (Orynq supersedes the earlier Proof-of-Inference protocol — see the Orynq overview.)
Features
Process Trace Anchoring - Commit cryptographic proofs of AI execution to Cardano
Self-Hosted Anchoring - Use your own wallet to anchor directly—no API fees
OpenClaw/Claude Code Integration - Zero-config anchoring for AI coding sessions
Dual Protocol Support - x402 (Coinbase standard) for EVM and Flux protocol for Cardano
Multi-Chain Payments - Pay for anchoring in ADA or EVM stablecoins (per-receipt fees on Materios mainnet paid in MOTRA, generated from MATRA holdings)
Auto-Pay Client - Automatic 402 payment handling with budget controls
Verification Tools - Independently verify any anchor using only the txHash
TypeScript & Python - Full SDK support for both languages
Installation
TypeScript/JavaScript
# Process tracing (instrument your AI agent)
npm install @fluxpointstudios/orynq-sdk-process-trace
# Self-hosted anchoring (use your own wallet)
npm install @fluxpointstudios/orynq-sdk-anchors-cardano lucid-cardano
# OR use the managed API with auto-pay client
npm install @fluxpointstudios/orynq-sdk-client
npm install @fluxpointstudios/orynq-sdk-payer-cardano-cip30 # Browser wallets
npm install @fluxpointstudios/orynq-sdk-payer-cardano-node # Server-sidePython
OpenClaw Integration
Automatically anchor your OpenClaw AI coding sessions to the blockchain with zero configuration. Every coding session becomes a verifiable, tamper-proof record.
One-Line Install
This installs:
OpenClaw (official installer)
Orynq OpenClaw recorder as a background daemon
Manual Install
Configuration
After installation, add your Orynq partner key to enable on-chain anchoring:
Without a partner key, the recorder still creates local process traces—they just won't be anchored to the blockchain.
Commands
orynq-openclaw status
Check daemon status
orynq-openclaw logs -f
View logs (follow mode)
orynq-openclaw start
Run in foreground
orynq-openclaw restart-service
Restart the daemon
orynq-openclaw doctor
Check configuration
orynq-openclaw uninstall --service --purge
Remove completely
How It Works
Tails OpenClaw JSONL session logs in real-time
Builds cryptographic process traces with:
Rolling hash chains for event ordering
Merkle trees for selective disclosure
SHA-256 content hashes for integrity
Anchors manifests to Cardano via Orynq API
Stores local bundles, manifests, and receipts
Privacy: Only cryptographic hashes are sent to the blockchain—never raw prompts, code, or responses.
Daemon Support
Linux
systemd user service
~/.config/systemd/user/
macOS
launchd LaunchAgent
~/Library/LaunchAgents/
Windows
Task Scheduler
User tasks
Output Structure
Quick Start
Anchoring a Process Trace
Python Example
Anchor-as-a-Service API
For applications that don't want to manage wallet infrastructure, use the managed Anchor-as-a-Service API.
Endpoint
Request
Response (402 Payment Required)
The first request returns a 402 with payment details:
Response (200 Success)
After payment verification:
Pricing
Pay-Per-Use (Self-Service)
Use your own Cardano wallet with the x402 payment protocol:
~2-3 ADA per anchor (at current network fees)
No monthly fees or minimums
Pay only when you anchor
Managed Anchoring
No crypto wallet needed • API key authentication • Pay by card
Starter
$49/mo
500 anchors
$0.15/anchor
Growth
$199/mo
2,500 anchors
$0.10/anchor
Scale
Custom
Unlimited
Volume pricing
Subscribe now:
All plans include:
No wallet management required
API key authentication (X-Partner header)
Usage dashboard at fluxpointstudios.com/orynq/enterprise-dashboard
Pay via invoice (USD)
Dedicated support
SLA available
Contact [email protected] for custom Scale pricing.
Self-Hosted Anchoring
For maximum control and privacy, you can anchor directly to Cardano using your own wallet—no API or service fees required. This is ideal for:
Privacy-conscious users who don't want to route through a third-party API
High-volume anchoring where per-anchor fees add up
Air-gapped environments with no external API access
Custom integrations with existing Cardano infrastructure
Installation
Complete Example
Cost
Mainnet:
0.2-0.3 ADA per anchor ($0.10-0.20 USD) — just the Cardano tx feePreprod testnet: Free (get test ADA from the faucet)
No service fees, no subscriptions—you pay only the blockchain transaction fee.
cardano-cli Alternative
If you prefer cardano-cli over Lucid:
Full Example
See the complete runnable example: github.com/Flux-Point-Studios/orynq-sdk/tree/main/examples/self-anchor
Verification
Verify via API
Response:
Verify Independently
Anyone can verify an anchor using Blockfrost or Cardanoscan:
The metadata under label 2222 contains:
On-Chain Data Format
Orynq anchors are stored under Cardano metadata label 2222 with the following schema:
schema
string
Always "poi-anchor-v1"
type
string
Anchor type (e.g., "process-trace")
manifestHash
string
SHA-256 hash of the full manifest
rootHash
string
Root hash of the process trace
merkleRoot
string
Merkle root of events (optional)
timestamp
string
ISO 8601 timestamp
Important: Only cryptographic hashes are stored on-chain. Raw prompts, responses, and sensitive data are never written to the blockchain.
SDK Packages
@fluxpointstudios/orynq-sdk-process-trace
Cryptographic process trace builder
@fluxpointstudios/orynq-sdk-anchors-cardano
Cardano anchor builder & verifier (for self-hosted anchoring)
@fluxpointstudios/orynq-sdk-core
Protocol-neutral types and utilities
@fluxpointstudios/orynq-sdk-client
Auto-pay HTTP client with budget tracking
@fluxpointstudios/orynq-sdk-payer-cardano-cip30
CIP-30 browser wallet payer
@fluxpointstudios/orynq-sdk-payer-cardano-node
Server-side Cardano payer
@fluxpointstudios/orynq-sdk-payer-evm-x402
EIP-3009 gasless EVM payer
@fluxpointstudios/orynq-sdk-server-middleware
Express/Fastify payment middleware
orynq-sdk (Python)
Python SDK with async support
Try It Now
Live Demo: fluxpointstudios.com/orynq
Try anchoring on testnet for free—no wallet required.
GitHub: github.com/Flux-Point-Studios/orynq-sdk
Support
Discord: discord.gg/MfYUMnfrJM
Twitter: @fluxpointstudio
Email: [email protected]
Last updated

