Skip to content

Feat/transaction simulation#485

Merged
gabito1451 merged 11 commits into
GalactiGuild:mainfrom
T-kesh:feat/transaction-simulation
Apr 27, 2026
Merged

Feat/transaction simulation#485
gabito1451 merged 11 commits into
GalactiGuild:mainfrom
T-kesh:feat/transaction-simulation

Conversation

@T-kesh
Copy link
Copy Markdown
Contributor

@T-kesh T-kesh commented Apr 26, 2026

This PR introduces a robust pre-submission validation layer for Stellar transactions using Soroban's simulateTransaction RPC method. This change aims to eliminate on-chain transaction failures caused by insufficient fees or contract logic errors, ensuring a smoother user experience and perfect fee accuracy.

closes #416

T-kesh and others added 5 commits April 25, 2026 10:51
- Import and integrate `ProjectSkeleton` component in explore page
- Add simulated 1.5s loading state using `useState` and `useEffect`
- Render skeleton grid of 8 placeholders while projects are loading
- Update `devOptional` to `dev` for type-related packages in package-lock.json
- Create SimulatorService for unified Soroban RPC simulation

- Update TransactionHandler to simulate and verify fees before submission

- Add fee sufficiency check to prevent low-fee on-chain failures

- Refactor KillSwitchService to use centralized simulation logic

- Define TransactionRecord and SimulationResult interfaces for type safety

- Register new services and handlers in StellarModule
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented Apr 26, 2026

@T-kesh Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@gabito1451 gabito1451 merged commit 51a81d0 into GalactiGuild:main Apr 27, 2026
1 check passed
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.

Implement 'Transaction Simulation' for Gas Estimation

2 participants