Hi @dzham,
I'm looking for a way to add Stargazer as an authenticator for cosmic.link and I'm facing an issue. I know you implemented a way to import XDR inside Stargazer. Now, building an XDR imply knowing the source account. cosmic.link may no have this information.
The current draft for handling transactions over URIs proposes thatĀ :
If the source account in the xdr is all zeros then the URI handler should replace the source account and sequence number with the user's source account and sequence number before it signs it.
The current cosmic.link protocol offer the alternative solution of adding '&stripSource' to the XDR request, telling the authenticator to replace the XDR source with the user public key & update sequence number.
Both solutions are based on emitting a "wrong" XDR that then get corrected by the wallet software. Did you implement such a mechanism or something similar that I could useĀ ?