-
Notifications
You must be signed in to change notification settings - Fork 85
Implement SorobanOnchainAdapter for Live Soroban Transactions #203
Copy link
Copy link
Open
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program
Description
Complexity Score: 200
Description
The current OnchainModule uses a MockOnchainAdapter. For Wave 3, we need a production-ready SorobanOnchainAdapter that interacts with the AidEscrow contract on the Stellar Testnet/Mainnet using the Stellar SDK.
Requirements
- Create
SorobanOnchainAdapterinapp/backend/src/onchain/soroban-onchain.adapter.ts. - Implement
initEscrow,createClaim, anddisbursemethods. - Use the Stellar SDK to build, sign, and submit Soroban transactions.
- Handle transaction submission errors and parse XDR for results.
- Ensure the adapter is correctly instantiated in
onchain.module.tswhenONCHAIN_ADAPTER=soroban.
Tech Stack
- NestJS, Stellar SDK (@stellar/stellar-sdk), Soroban CLI (for local testing).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Stellar WaveIssues in the Stellar wave programIssues in the Stellar wave program