Skip to content

[New Tx Flow] Wire sign auth entries to Simulation & Validate Steps#1989

Merged
jeesunikim merged 4 commits intofeature/new-tx-flowfrom
wire-new-tx-flow
Apr 1, 2026
Merged

[New Tx Flow] Wire sign auth entries to Simulation & Validate Steps#1989
jeesunikim merged 4 commits intofeature/new-tx-flowfrom
wire-new-tx-flow

Conversation

@jeesunikim
Copy link
Copy Markdown
Contributor

@jeesunikim jeesunikim commented Mar 31, 2026

Summary

  • Adds a checkmark in TransactionStepper
  • Signing auth entries added

How to test:

  • Use atomic swap contract CDJ6WXER3J7IKSAYSP2BUERPTWBUKCHEUKI6UIZZNDIIQZXFM4JNJADC
  • params to use:
    -- a: first party address (testnet account)
    -- b: second party address (testnet account)
    -- token_a — a token contract address
    -- token_b — a different token contract address
    -- amount_a — how much token A party a offers
    -- min_b_for_a — minimum token B that a accepts
    -- amount_b — how much token B party b offers
    -- min_a_for_b — minimum token A that b accepts

Rule:

  • amount_b > min_b_for_a
  • amount_a >= min_a_for_b

For example:

  • amount_a: 10, min_b_for_a: 50, amount_b: 100, min_a_for_b: 5
submit signing signing-enries

Successful Transaction: 45e4a506dba013c1dd754d592295ced2728385e8560f9a892d32decd1f22a269

jeesunikim and others added 2 commits March 30, 2026 13:56
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace placeholder envelope signing with actual authorizeEntry() logic:
- Add customSignFn prop to SignTransactionXdr for auth-specific signing
- SorobanAuthSigningCard calls authorizeEntry() per entry via customSignFn
- SimulateStepContent assembles transaction after auth entries are signed
- Remove incorrect SorobanAuthSigningCard from ValidateStepContent

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-project-automation github-project-automation bot moved this to Backlog (Not Ready) in DevX Mar 31, 2026
@stellar-jenkins-ci
Copy link
Copy Markdown

@jeesunikim jeesunikim marked this pull request as ready for review March 31, 2026 21:37
@stellar-jenkins-ci
Copy link
Copy Markdown

@jeesunikim jeesunikim requested a review from quietbits March 31, 2026 22:47
@stellar-jenkins-ci
Copy link
Copy Markdown

@jeesunikim jeesunikim merged commit dd795be into feature/new-tx-flow Apr 1, 2026
4 checks passed
@jeesunikim jeesunikim deleted the wire-new-tx-flow branch April 1, 2026 23:28
@github-project-automation github-project-automation bot moved this from Backlog (Not Ready) to Done in DevX Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants