Fix wallet transaction invalid error, add real multi-token trading, marketplace fork, and dashboard PnL charts - #9
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
…tplace fork, dashboard PnL charts Agent-Logs-Url: https://github.com/mesayanroy/0x402-pubsub/sessions/a5017868-1cf9-406e-87a5-d8afd60c61af Co-authored-by: mesayanroy <169074736+mesayanroy@users.noreply.github.com>
…ing, candle seed using fallback Agent-Logs-Url: https://github.com/mesayanroy/0x402-pubsub/sessions/a5017868-1cf9-406e-87a5-d8afd60c61af Co-authored-by: mesayanroy <169074736+mesayanroy@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix invalid transaction error in wallet integration
Fix wallet transaction invalid error, add real multi-token trading, marketplace fork, and dashboard PnL charts
Mar 30, 2026
mesayanroy
marked this pull request as ready for review
March 30, 2026 01:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transaction failures ("Invalid error") when running paid agents stemmed from a hardcoded
TESTNETnetwork passphrase and a race condition where the server verified the tx before Horizon indexed it. The trading page used fake price data and only supported XLM.Critical Fixes
PaymentModal — transaction invalid error
StellarSdk.Networks.TESTNET; now readsNEXT_PUBLIC_STELLAR_NETWORKto pick mainnet/testnet passphrase at runtimeconfirmingstep: polls Horizon until the tx appears on-ledger before handing the hash to the agent run route — eliminates the "Transaction not found" verification failureresponse.data.extras.result_codesfrom Stellar errors for actionable messages instead ofString(err)verifyPaymentTransaction— server-side retryTrading Page
Marketplace
/api/agents/listdynamically instead of hardcoded static arraysForkModal: pays the agent owner's fork fee in XLM via Freighter signature, then lets the user customise the agent name and system promptDashboard
earningsarray in the analytics API📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.