Skip to content

Add Python binding for PoT generation and verification #4

@Heime-Jorgen

Description

@Heime-Jorgen

Summary

OpenTTT currently ships a TypeScript/Node.js SDK. A Python binding would open the library to the data science and ML/AI agent ecosystem, where Python is dominant.

Scope

  • Wrap generatePot() and verifyPotSignature() from the openttt npm package — or implement the same protocol in pure Python
  • Target: openttt PyPI package or openttt-python GitHub repo under Helm-Protocol
  • Must match the TS SDK output format (PoT JSON structure)

Acceptance Criteria

  • pip install openttt (or openttt-python)
  • pot = generate_pot(agent_id="...", sources=[...]) returns valid PoT dict
  • verify_pot_signature(pot_hash, signature) returns bool
  • README with usage example

References

Difficulty

Medium — requires understanding the PoT structure and Ed25519 signature format. No blockchain knowledge needed.

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