Follow-up from PR #436 discussion.
The confirmation dialog now shows the number of required transactions (via session.estimate(amount) → txCount), but not the fee. Fees are computed inside the SDK during simulation/assembly (sdk/stellar/src/tx_prepare.rs, sdk/stellar/src/tx_assemble.rs) and are only visible in the wallet signing prompt.
Proposed work:
- Extend the SDK's
Estimate (sdk/client/src/types.rs) with a fee estimate — e.g. a simulate-without-submitting path that returns classic fee + Soroban resource fee.
- Expose it through the WASM binding (
sdk/web/src/client/pool.rs).
- Display it as a row in the confirmation dialog (
app/js/ui/transactions.js, txCountRow helper).
Follow-up from PR #436 discussion.
The confirmation dialog now shows the number of required transactions (via
session.estimate(amount)→txCount), but not the fee. Fees are computed inside the SDK during simulation/assembly (sdk/stellar/src/tx_prepare.rs,sdk/stellar/src/tx_assemble.rs) and are only visible in the wallet signing prompt.Proposed work:
Estimate(sdk/client/src/types.rs) with a fee estimate — e.g. a simulate-without-submitting path that returns classic fee + Soroban resource fee.sdk/web/src/client/pool.rs).app/js/ui/transactions.js,txCountRowhelper).