@rubric-protocol/sdk 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,6 +4,18 @@ Post-quantum AI attestation with ZK inclusion proofs.
|
|
|
4
4
|
|
|
5
5
|
Rubric Protocol is the independent witness layer for the AI economy - providing tamper-evident, independently verifiable audit trails for AI decisions, anchored to Hedera Consensus Service.
|
|
6
6
|
|
|
7
|
+
|
|
8
|
+
## ⚠️ Critical: /v1/attest vs /v1/tiered-attest
|
|
9
|
+
|
|
10
|
+
| Endpoint | Tier Required | Behavior | Cost |
|
|
11
|
+
|----------|--------------|----------|------|
|
|
12
|
+
| `/v1/attest` | **Enterprise only** | Writes directly to Hedera Consensus Service | HBAR per call |
|
|
13
|
+
| `/v1/tiered-attest` | Developer+ | Merkle batching (1,000,000:1 compression) | Minimal |
|
|
14
|
+
|
|
15
|
+
**Use `/v1/tiered-attest` for all development and high-volume workloads.**
|
|
16
|
+
`/v1/attest` is a direct HCS write. Unguarded use drained 1,000 HBAR in 12 hours.
|
|
17
|
+
Hard rate limit: 60 req/min. If you are unsure which to use: use `/v1/tiered-attest`.
|
|
18
|
+
|
|
7
19
|
## Installation
|
|
8
20
|
|
|
9
21
|
npm install @rubric-protocol/sdk
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubric-protocol/sdk",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Rubric Protocol SDK
|
|
3
|
+
"version": "1.0.10",
|
|
4
|
+
"description": "Rubric Protocol SDK — post-quantum AI attestation with ZK inclusion proofs",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
@@ -22,4 +22,4 @@
|
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=18"
|
|
24
24
|
}
|
|
25
|
-
}
|
|
25
|
+
}
|