npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sealed-precision-oracle

v1.1.1

Published

Tamper-proof AI Oracle for precision prediction markets on 0G

Readme

Sealed Precision Oracle

ClawHub 0G Mainnet

The Sealed Precision Oracle is a cognitive backbone for autonomous intelligence. It resolves complex, data-dependent questions using a verifiable pipeline of TEE-attested AI, 0G Storage memory, and ERC-7857 agent identity.

🚀 Quick Install

Boost your agent's reasoning with a single command:

clawhub install sealed-precision-oracle

🏗️ Architecture: The Cognitive Backbone

This project implements a complete cognitive layer for agents, ensuring every decision is logically sound and cryptographically verified.

┌──────────────────────────────────────────────────────────────┐
│                 Atomic Oracle Pipeline                        │
│                                                              │
│  1. Autonomous Data Fetching (Ground Truth)                  │
│         │                                                    │
│         ▼                                                    │
│  ┌──────────────┐    Real-time     ┌──────────────────────┐ │
│  │ Public RPCs  │ ──────────────▶  │ Gas, Prices, Block#  │ │
│  └──────────────┘                  └──────────┬───────────┘ │
│                                               │              │
│  2. Hardware-Secured Reasoning (TEE Compute)  │              │
│  ┌──────────────┐    ECDSA Sig     ┌──────────▼───────────┐ │
│  │ 0G Compute   │ ──────────────▶  │ AI Reasoning (Qwen)  │ │
│  │ (Direct TEE) │  (Per-Inference) │ Inside Secure Enclave│ │
│  └──────────────┘                  └──────────┬───────────┘ │
│                                               │              │
│  3. Long-Context State Memory (0G Storage)    │              │
│  ┌──────────────┐               ┌─────────────▼──────────┐  │
│  │ 0G Storage   │ ◀──────────── │ Immutable Receipt JSON │  │
│  │ (Audit Log)  │    Upload     │ (Merkle Root Hash)     │  │
│  └──────┬───────┘               └────────────────────────┘  │
│         │ rootHash                                           │
│         ▼                                                    │
│  4. On-Chain Settlement (0G Chain)                           │
│  ┌──────────────┐  recordResolution()                       │
│  │  0G Mainnet  │  ERC-7857 PrecisionOracleID               │
│  │  (Anchor)    │  tokenId → storageRoot                    │
│  └──────────────┘                                            │
└──────────────────────────────────────────────────────────────┘

0G Stack Integrations (Track 1 Focus)

| Component | Integration | Purpose | |-----------|-------------|---------| | 0G Compute | Direct TEE Attestation | Cognitive Layer: Hardware-verified AI reasoning with per-inference signatures. | | 0G Storage | Turbo Indexer | Long-Context Memory: Permanent archival of data snapshots and reasoning logic. | | 0G Chain | ERC-7857 Smart Contracts | Agent Identity: On-chain ownership and verifiable anchoring of AI resolutions. | | OpenClaw | Specialized Skill | Orchestration: Seamless integration into autonomous agent frameworks. |

Feature Status

| Feature | Status | Details | |---------|--------|---------| | Real-time Data | REAL | Live fetch from Ethereum RPCs and CoinGecko. | | TEE Attestation | REAL | Per-inference ECDSA signatures verified against on-chain TEE signers. | | 0G Storage | REAL | Receipts archived on Mainnet Turbo Indexer. | | On-chain Settlement| REAL | Resolutions recorded on 0G Mainnet via ERC-7857 contracts. |

🛠️ Usage

1. Managed Mode (Zero-Config)

Experience the full verifiable flow instantly without any setup. Our hosted API bridge handles the 0G gas and storage fees for you.

# Install globally
npm install -g sealed-precision-oracle

# Run instantly (Managed Mode)
sealed-precision-oracle "Is the price of Solana above $200?"

2. Autonomous Mode (For Advanced Agents)

Run the entire pipeline on your own hardware using your own 0G funds.

# Set your PRIVATE_KEY in your environment
export PRIVATE_KEY="0x..."

# Run locally (Autonomous Mode)
sealed-precision-oracle "Is the price of Solana above $200?"

3. Smart Contract Integration

The oracle records proofs to:

  • Mainnet Address: 0xf25E765eF573c26d6314Fd83822564E7AF11C9Ac
  • Network: 0G Mainnet (Chain ID: 16661)

📂 Project Structure

  • contracts/: ERC-7857 compliant smart contracts for AI agent identity.
  • src/: Core logic for data fetching, TEE inference, and storage.
  • api/: Backend bridge for secure TEE execution (Managed Mode).
  • skills/: OpenClaw skill manifest for ClawHub publication.
  • bin/: CLI entry point for global installation.

License

MIT .

License

MIT