|
|
||
|---|---|---|
| idea172_bevault_verifiable_best | ||
| tests | ||
| .gitignore | ||
| AGENTS.md | ||
| README.md | ||
| pyproject.toml | ||
| test.sh | ||
README.md
BeVault: Verifiable Best-Execution Backbone
BeVault is a Python backbone for best-execution workflows across equity venues. It models local optimization problems, privacy-bounded market signals, signed hedge deltas, and tamper-evident governance logs in a small, testable package.
What It Provides
- Canonical data contracts for
LocalArbProblem,SharedSignals,HedgeDelta,AuditLog, andPrivacyBudget - HMAC-SHA256 delta signing and verification
- A canonical IR bridge for replay and auditing
- A hash-chained governance ledger
- Deterministic delta-sync with version vectors
- A GoC registry plus starter price-feed and broker adapters
Modules
core.py: data contracts and toy DSL helperssigning.py: signing and verificationbridge.py: canonical IR serializationledger.py: append-only governance ledgerreplay.py: signed delta sync and replayregistry.py: GoC registry and contract catalogadapters/: starter price-feed and broker adapters
Verification
Run:
bash test.sh
This installs the package, runs pytest, and builds a source distribution and wheel with python3 -m build.