Skip to content

fix: replace string literals with real Albedo SDK calls in albedo.ts#179

Merged
Cedarich merged 1 commit intoStayLitCodes:mainfrom
zhero-o:fix/140-albedo-wallet-service
Mar 29, 2026
Merged

fix: replace string literals with real Albedo SDK calls in albedo.ts#179
Cedarich merged 1 commit intoStayLitCodes:mainfrom
zhero-o:fix/140-albedo-wallet-service

Conversation

@zhero-o
Copy link
Copy Markdown
Contributor

@zhero-o zhero-o commented Mar 29, 2026

  • Install @albedo-link/intent package
  • Import albedo default export and call albedo.publicKey({}) and albedo.tx() instead of string literals that were assigned but never executed
  • Extract pubkey from publicKey() result and signed_envelope_xdr from tx() result
  • Add user rejection error handling in connect(), publicKey(), and signTransaction()
  • Tighten getNetworkParam() return type to match SDK's StellarNetwork type

Closes #140

- Install @albedo-link/intent package
- Import albedo default export and call albedo.publicKey({}) and albedo.tx()
  instead of string literals that were assigned but never executed
- Extract pubkey from publicKey() result and signed_envelope_xdr from tx() result
- Add user rejection error handling in connect(), publicKey(), and signTransaction()
- Tighten getNetworkParam() return type to match SDK's StellarNetwork type

Closes StayLitCodes#140
@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@zhero-o 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

@Cedarich Cedarich merged commit 7063f46 into StayLitCodes:main Mar 29, 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.

[Frontend] Fix Broken Albedo Wallet Service Implementation

2 participants