Skip to content

feat(demo): add a simulated cross-rail DvP for Flow A - #6

Merged
MukulKolpe merged 1 commit into
OpenTokenizedAssetStandard:mainfrom
MukulKolpe:feat/simulated-dvp-demo
Oct 26, 2026
Merged

MukulKolpe merged 1 commit into
OpenTokenizedAssetStandard:mainfrom
MukulKolpe:feat/simulated-dvp-demo

Conversation

@MukulKolpe

Copy link
Copy Markdown
Member

Summary

Runs whitepaper Flow A end to end between the simulated Ethereum and Sui rails, numbered as in §8, and adds a sanctions revocation and an abort. One indexer reconciles both rails' canonical events.

Type of change

  • Schemas or reason-code registry
  • Conformance vectors or Python tools
  • Simulated demo
  • EVM contracts (live/evm)
  • Sui Move package (live/sui)
  • Live runner (live/runner)
  • Scripts or CI
  • Documentation
  • Other:

Related issues

Closes #5

Details

  • A.1: models both tokens as OTAS objects, the bond as a mixed manifest and the deposit as native (§5.4).
  • A.2–A.6: identity, canTransfer pre-settlement checks, SettlementProposed with the cash-leg trust tier, Committed, then Settled.
  • Scenario B (Flow C): the buyer's sanctions credential is revoked and both rails deny with SANCTIONS_HIT.
  • Scenario C: one leg is never held, so the instruction aborts and the locked leg is refunded.
$ python demo/run_demo.py && cd tools && python -m otas_tools.cli reconcile ../demo/event_log.json
  events: 24   schema violations: 0
  stl-…: rails=['evm-account', 'sui-object'] outcome=SETTLED atomicity_ok=True finality=['evm-account:probabilistic', 'sui-object:deterministic']
  stl-…: rails=['evm-account', 'sui-object'] outcome=PENDING/DENIED atomicity_ok=True …
  stl-…: rails=['evm-account', 'sui-object'] outcome=ABORTED atomicity_ok=True …

Checklist

  • All commits are signed off for DCO (git commit -s)
  • My git name/email match my sign-off and GitHub account
  • This targets main
  • CI is green
  • No private keys, .keys/ files or other secrets are included

Notes for reviewers

Signed-off-by: Mukul Kolpe <mukulkolpe45@gmail.com>
@MukulKolpe
MukulKolpe merged commit 8a639ec into OpenTokenizedAssetStandard:main Oct 26, 2026
4 checks passed
@MukulKolpe
MukulKolpe deleted the feat/simulated-dvp-demo branch October 26, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Tooling]: Simulated cross-rail DvP demo (Flow A)

1 participant