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.5.tar.gz (8.1 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.5-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: proofcore-0.1.5.tar.gz
  • Upload date:
  • Size: 8.1 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.5.tar.gz
Algorithm Hash digest
SHA256 eb382b9d6e50a56f56e73c50b06641d9167793eaa47292d13f6b6ec88e775e27
MD5 b007ee2037290af6df829038bb7092da
BLAKE2b-256 aafd8a198c0df295b2850d72b997912de5a0039460341f027106c8f550c80984

See more details on using hashes here.

File details

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

File metadata

  • Download URL: proofcore-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 27ed1c9bdd7127b7391ef0b4e532aab045bbab2ad72d657bd30ca21a5d54a05e
MD5 8583be95f12cdf95f522dfdebe867083
BLAKE2b-256 a36546de6db51779fa2e15804322fe36d57048787e32b95c5ae463d95aef56cf

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

This release

0.1.5 This release

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