soroswap / frontend

Soroswap.Finance Frontend Repo
https://soroswap.finance
MIT License
4 stars 9 forks source link

Bridge: Follow steps on modal when bridging tokens to and from pendulum #406

Closed chopan123 closed 2 months ago

chopan123 commented 3 months ago

Show in the transaction modal the steps of the bridge process, Propose a frontend beatiful view: for example,

when bridging to pendulum from stellar we have 2 steps. one for signing pendulum tx (show 1/2) and then receiving (show 2/2) or 1 of 2.

When bridging from Stellar to Pendulum we have 3 steps.

MattPoblete commented 3 months ago

Issue steps:

  1. Confirm.
  2. Approve in polkadot wallet.
  3. Await for confirmation on polkadot network.
  4. Approve & Sign in Stellar wallet.
  5. Await for transaction confirmation.
  6. Result (Success, failed).

Reddem steps:

  1. Confirm.
  2. Approve in polkadot wallet.
  3. Await for confirmation on polkadot network.(”Waiting on transaction confirmation on pendulum network”).
  4. Result (Success, failed).
MattPoblete commented 3 months ago

Image

MattPoblete commented 3 months ago

Created Pull request https://github.com/soroswap/frontend/pull/429!

MattPoblete commented 3 months ago

Found a bug: When selecting assets for first time, the state doesn't update automatically.