Skip to content

feat: Python bindings (PyO3) for offline receipt verification and escrow access #2

Description

@mahirhir

Summary

The core receipt verification and Merkle tile log verification engines are written in Rust (gx-core, gx-receipt, gx-tile). Adding Python bindings via pyo3 / maturin will allow Python-based agent runtimes (LangChain, CrewAI, DSPy, custom scripts) to verify DSSE receipts and query tile logs without shelling out to the gx binary.

Scope

  • Crate: crates/gx-py (new)
  • Wrap gx_receipt::verify_receipt(receipt_bytes, public_key)
  • Wrap gx_tile::verify_inclusion_proof(entry, tile_roots)
  • Publish wheel build via GitHub Actions (maturin-action)

Good first issue for anyone familiar with PyO3 / Maturin.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions