Skip to content

feat: display raw stroop amount alongside human-readable amount in ProposalCard - #559

Open
Nuruddeen61 wants to merge 3 commits into
Ac0rdP:mainfrom
Nuruddeen61:main
Open

feat: display raw stroop amount alongside human-readable amount in ProposalCard#559
Nuruddeen61 wants to merge 3 commits into
Ac0rdP:mainfrom
Nuruddeen61:main

Conversation

@Nuruddeen61

Copy link
Copy Markdown

Summary

Displays the raw stroop value alongside the human-readable token amount (XLM/USDC) in ProposalCard for transfer and spending limit proposals.

Motivation

Issue #4 - Users need to verify the exact raw amount before signing transactions on Soroban. Currently only the formatted amount is shown.

Changes

  • frontend/src/components/ProposalCard.tsx: Added rawAmount display in transfer case
  • frontend/src/components/ProposalCard.tsx: Added rawAmount display in set_spending_limit case
  • Only renders when rawAmount exists and is not "-"
  • Styled with smaller muted text to keep UI clean

Example

Before:
Send 50 USDC
To GABC...

After:
Send 50 USDC
Raw: 50000000 stroops
To GABC...

Closes

Closes #4

@vercel

vercel Bot commented Aug 31, 2026

Copy link
Copy Markdown

@Nuruddeen61 is attempting to deploy a commit to the thegreatfeez's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Display human-readable token amount (XLM/USDC) alongside raw stroop value in ProposalCard

1 participant