Skip to content

Conversation

@ayomideadeniran
Copy link
Contributor

@ayomideadeniran ayomideadeniran commented Jan 26, 2026

This PR adds core escrow logic and emits structured Soroban events to enable real-time indexing for Vaultix.

Changes

  • Implemented escrow flows: create_escrow, confirm_delivery, raise_dispute, resolve_dispute
  • Added Soroban events for all state changes (create, release, dispute, resolve)
  • Added get_escrow helper for state verification
  • Added tests validating logic and event emission
  • Fixed Soroban SDK and Rust compatibility issues

Impact

  • Enables real-time UI updates via off-chain indexing
  • Keeps frontend in sync with on-chain state

Verification

  • cargo test passed

Closes #38

@Cedarich
Copy link
Contributor

Please check formating run cargo fmt --all -- --check and address errors

@ayomideadeniran
Copy link
Contributor Author

@Cedarich Kindly check it out now

@Cedarich
Copy link
Contributor

please Run cargo clippy --all-targets --all-features -- -D warnings and address errors

@ayomideadeniran
Copy link
Contributor Author

@Cedarich I will do that now

@ayomideadeniran
Copy link
Contributor Author

@Cedarich Done you can now check it out.

1 similar comment
@ayomideadeniran
Copy link
Contributor Author

@Cedarich Done you can now check it out.

@Cedarich
Copy link
Contributor

please address conflicts

@Cedarich
Copy link
Contributor

Please address formatting errors

@ayomideadeniran
Copy link
Contributor Author

@Cedarich Kindly check i just finish resolving the conflict.

@ayomideadeniran
Copy link
Contributor Author

@Cedarich i just finish addressing formatting errors.

@Cedarich Cedarich merged commit b0769b9 into StayLitCodes:main Jan 31, 2026
1 check passed
@ayomideadeniran
Copy link
Contributor Author

@Cedarich Do i really do a great work ? Or i need to improve ? If so i need your compliment points so i can know where my strength lies.

@ayomideadeniran
Copy link
Contributor Author

@Cedarich I deserve compliments more kindly consider

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.

📡 Integrate Comprehensive Soroban Events for Indexing

2 participants