Skip to content

Swaps: BTC selected by default (starting state logic) #633

@lion-dev

Description

@lion-dev

A logic to define which assets should be selected by default could look like:

  • User comes from btc layer, btc is selected by default (send input), no selection on receive input.
  • User comes from other layer and layer balance is 0, btc is selected by default (send input), other layer is selected by default on receive
  • User comes from other layer and layer balance is NOT 0, layer default token is selected by default (send input), no selection on receive.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions