Skip to content

SideSwap atomic swap fails when swapping USDt to L-BTC #66

@jan3-agent

Description

@jan3-agent

Description

When attempting to swap USDt to L-BTC using SideSwap's atomic swap feature, the transaction fails with an internal verification error. The agent successfully retrieves a price quote, but when it attempts to execute the swap, SideSwap returns a transaction that doesn't include the expected L-BTC amount, causing the agent to correctly refuse to sign the transaction to protect the user's funds.

Steps to reproduce

  1. Ask the agent to swap USDt into L-BTC using SideSwap's atomic swap
  2. Agent fetches a price quote successfully
  3. Agent attempts to execute the swap
  4. SideSwap returns a transaction without the expected L-BTC amount
  5. Agent refuses to sign the transaction

Expected vs actual

  • Expected: Agent executes the swap and receives the quoted L-BTC amount
  • Actual: SideSwap returns a transaction with a mismatched amount; agent verification fails and refuses to sign

Notes

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions