-
Notifications
You must be signed in to change notification settings - Fork 21
Spike: Prototype the Soroban transaction build→simulate→sign→submit→confirm flow #79
Copy link
Copy link
Open
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26blockchain integrationRequires Stellar/Soroban blockchain knowledgeRequires Stellar/Soroban blockchain knowledgedifficulty: spikeResearch/investigation issue — scope and approach are not yet definedResearch/investigation issue — scope and approach are not yet definedpriority: highHigh priority issueHigh priority issuequestionFurther information is requestedFurther information is requested
Description
Activity
Metadata
Metadata
Assignees
Labels
GrantFox OSSIssue tracked in GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26Campaign: Official Campaign | FWC26blockchain integrationRequires Stellar/Soroban blockchain knowledgeRequires Stellar/Soroban blockchain knowledgedifficulty: spikeResearch/investigation issue — scope and approach are not yet definedResearch/investigation issue — scope and approach are not yet definedpriority: highHigh priority issueHigh priority issuequestionFurther information is requestedFurther information is requested
Description
No code anywhere in the frontend builds, simulates, signs, submits, or confirms a Soroban transaction, despite the README claiming "XDR simulation run before every transaction submission." Every contract-touching UI action is stubbed:
components/molecules/form-pledge/index.tsxandcomponents/molecules/deposits/index.tsxusesetTimeout/hardcodedBigInt(0)with TODOs ("call TrustFlow contract deposit")components/organisms/pledge/index.tsxuses amockEscrowobject and a literalalert('Contract integration coming soon')for the escrow deposit buttonhooks/useSubscription.ts, meant for on-chain event polling, is a documented "Placeholder subscription hook" with an empty body and a TODOshared/contracts.tsis just three env-var constants (CONTRACT_ID,RPC_URL,NETWORK_PASSPHRASE) — nothing consumes them to actually talk to the chainThis blocks every real contract-integration ticket until the flow and its home in the codebase are decided.
Component
Frontend
Difficulty
🟣 Spike — investigation required, scope not yet defined
Tasks
shared/service module consumed by hooks?)trustflow-sdk's contract client vs. calling@stellar/stellar-sdkdirectly from the frontend (the SDK's own client is also currently mocked — see the related spike intrustflow-sdk)pledge/index.tsx) against Soroban testnet via FreighteruseSubscription.ts's event-polling approach (RPCgetEventspolling vs. a backend push channel) and confirm it fits the existing Edge-runtime API routesAcceptance Criteria
Estimated Time
2-3 days (time-boxed spike)