Skip to main content

๐Ÿ›ก๏ธ ProofCore Protocol

The Cryptographic Notarization & Evidence Layer for the AI & M2M Economy

TON Blockchain Python OpenAPI 3.1 llms.txt License: MIT

"Don't trust ProofCore. Verify the proof yourself."

๐ŸŒ Website โ€ข ๐Ÿ“– OpenAPI Spec โ€ข ๐Ÿค– llms.txt โ€ข ๐Ÿ“ฑ Telegram Bot


โšก The Problem & The Solution

In the era of autonomous AI agents, digital trust is broken:

  • Denial of Generation: AI outputs can be secretly altered or deleted.
  • Fabricated Hallucinations: Screenshots of LLM predictions and contract audits can easily be faked.
  • Centralized Vulnerability: Traditional notarization APIs require manual API keys, subscriptions, and trusting a single server's timestamp.

ProofCore is a high-throughput, Zero-Auth M2M Protocol that cryptographically commits digital outputs into The Open Network (TON) Blockchain via Merkle Tree batching. It delivers mathematical Proof-of-Existence (PoE) and verifiable provenance without storing private user keys.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     POST /api/v0.1/seal     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ Autonomous AI  โ”‚ โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€> โ”‚   ProofCore    โ”‚
โ”‚ Agent / LLM    โ”‚ <โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ โ”‚   API Gateway  โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜    Instant Citation Badge   โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                                                       โ”‚
                                            SHA-256 Merkle Batching
                                                       โ”‚
                                                       โ–ผ
                                            โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                            โ”‚   TON Blockchain   โ”‚
                                            โ”‚ (Immutable Anchor) โ”‚
                                            โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿš€ Developer Integrations & SDK

Zero-Auth Cryptographic Notarization API for AI Agents & Autonomous Systems The easiest way to interact with the TON Blockchain and seal your data is to use our official Python package.

๐Ÿ“ฆ Installation

pip install proofcore

(For specific AI frameworks, use pip install proofcore[langchain] or pip install proofcore[crewai])


๐Ÿค– 1. LangChain Agent Integration

from langchain_openai import ChatOpenAI
from langchain.agents import initialize_agent, AgentType
from proofcore.langchain import ProofCoreSealerTool

# 1. Init LLM and our official drop-in tool
llm = ChatOpenAI(model="gpt-4o")
tools = [ProofCoreSealerTool()]

# 2. Run the agent
agent = initialize_agent(tools, llm, agent=AgentType.OPENAI_FUNCTIONS, verbose=True)

# The agent will write the audit, call the tool, and give you the verification link!
response = agent.run("Write a short security audit for an ERC-20 token and notarize it.")
print(response)

๐Ÿ•ต๏ธ 2. CrewAI Integration

from crewai import Agent, Task, Crew
from proofcore.crewai import ProofCoreCrewTool

notary_tool = ProofCoreCrewTool()

auditor = Agent(
    role="Smart Contract Security Auditor",
    goal="Audit contract code and cryptographically seal the final verdict on-chain.",
    backstory="You are an autonomous auditor specializing in Web3 security.",
    tools=[notary_tool]
)

# CrewAI agent will automatically use the tool to anchor the report

๐Ÿ 3. Pure Python (The Lazy Way)

No frameworks? No problem. ProofCore is a Zero-Auth API. You don't need API keys or registration.

import proofcore
import time

# Step 1: Create a Proof
print("Sealing data...")
deal = proofcore.seal(
    content="Autonomous System Prediction: BTC > $150k before Q4 2026.",
    agent_id="python-script-v1",
    title="Market Forecast"
)

print(f"Deal ID: {deal['deal_id']}")
print(f"Badge: {deal['citation']}")

# Step 2: Check Blockchain Status
while True:
    status_data = proofcore.get_proof(deal['deal_id'])

    if status_data.get("status") == "anchored_onchain":
        print("โœ… SUCCESS! Anchored to TON Blockchain.")
        print(f"Merkle Root: {status_data['merkle_root']}")
        print(f"TON TX Hash: {status_data['ton_tx_hash']}")
        break

    print("โณ Still in queue. Checking again in 60 seconds...")
    time.sleep(60)

๐ŸŽจ 4. Hugging Face Spaces & Gradio (UI Component)

Building an AI demo on Hugging Face? Add our drop-in UI component to instantly give your space a Web3 verification badge.

First, add proofcore[ui] to your requirements.txt. Then use the NotarizedOutput class:

import gradio as gr
from proofcore.gradio import NotarizedOutput

def generate_text(prompt):
    return f"AI generated response for: {prompt}"

with gr.Blocks() as demo:
    gr.Markdown("# My Secure AI Generator")
    inp = gr.Textbox(label="Prompt")
    
    # Drop-in replacement for gr.Textbox
    out = NotarizedOutput(label="AI Output (Anchored on TON)")
    
    btn = gr.Button("Generate & Notarize")
    
    # 1. Generate text -> 2. Process and Seal
    btn.click(fn=generate_text, inputs=inp, outputs=out.textbox).then(
        fn=out.process, inputs=out.textbox, outputs=out.outputs
    )

demo.launch()

๐Ÿ›ก๏ธ How to Verify the Proof Offline?

ProofCore is built on the philosophy: "Don't trust us. Verify it yourself."

The get_proof() method returns all the data required for independent verification. You can easily reconstruct the Merkle Tree and compare the resulting root against the public TON Blockchain without ever trusting our servers.

Check out the full OpenAPI Specification and Mathematical Algorithm at proofcore.org/openapi.json.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proofcore-0.1.7.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

proofcore-0.1.7-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file proofcore-0.1.7.tar.gz.

File metadata

  • Download URL: proofcore-0.1.7.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for proofcore-0.1.7.tar.gz
Algorithm Hash digest
SHA256 1e4cf2e251e4e9fc6f3dc3a9e852ea22da6d041a9117de50aa3a667332772844
MD5 5b5909df2e59b9bd3027bc9fe1334fcc
BLAKE2b-256 327e7184f9a8d609846a8594f644e8d68240dfba17b4794752adc75de81066f2

See more details on using hashes here.

File details

Details for the file proofcore-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: proofcore-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for proofcore-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4b4b7fa87b15d4a7a718bdb2584ef544370c9148948081b9955a661e2e7ceb80
MD5 31a98dacdf6e5e6b1fcf02b379fd13ec
BLAKE2b-256 8d2a3bca204697919782d48e4c5092e4a29a92c146feff4b3adb1a6b64f7c50b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

This release

0.1.7 This release

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page