Skip to content

chore: Create Midnight Transaction Builder#267

Merged
shahnami merged 6 commits intoplat-6712-add-models-and-configuration-parsingfrom
plat-6715-transaction-builder
Jul 8, 2025
Merged

chore: Create Midnight Transaction Builder#267
shahnami merged 6 commits intoplat-6712-add-models-and-configuration-parsingfrom
plat-6715-transaction-builder

Conversation

@shahnami
Copy link
Member

@shahnami shahnami commented Jun 5, 2025

Summary

https://linear.app/openzeppelin-development/issue/PLAT-6715/transaction-builder

This PR focuses specifically on the transaction builder components needed for Midnight network integration.

  • Added MidnightTransactionBuilder with support for offers, intents, and ZK proof generation
  • Implemented comprehensive types for Midnight transactions including OfferInfo, IntentInfo, and transaction data structures
  • Updated transaction handling to use generic types compatible with midnight-node patterns

Parent of:

Testing Process

Checklist

  • Add a reference to related issues in the PR description.
  • Add unit tests if applicable.

@shahnami shahnami marked this pull request as ready for review July 4, 2025 10:19
@shahnami shahnami requested review from a team as code owners July 4, 2025 10:19
* feat: Implement relayer model for Midnight

* feat: Add wallet sync service (#335)

* chore: Add indexer url to network config

* feat: Add service sync manager

* chore: Implement tx preparation scaffolding

* chore: Implement get_balance from relayer service

* chore: Replace repo w/ signertrait and clarify sync

* feat: Implement relayer submission functionality (#337)

* feat: Working implementation for transaction submission

* feat: Use sync state repo to allow incremental sync

* fix: Comments for token_type

* feat: Implement status checker

* chore: Upgrade package

* feat: Implement signing for midnight

* refactor: Replace dyn with EventHandlerType enum
@shahnami shahnami merged commit 77c3413 into plat-6712-add-models-and-configuration-parsing Jul 8, 2025
6 checks passed
@shahnami shahnami deleted the plat-6715-transaction-builder branch July 8, 2025 10:50
@github-actions github-actions bot locked and limited conversation to collaborators Jul 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants