shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
157 stars 180 forks source link

feat: account management wiring progression #6798

Closed woodenfurniture closed 1 week ago

woodenfurniture commented 2 weeks ago

Description

Pull Request Type

Issue (if applicable)

closes #6789 closes #6788 closes #6797

Risk

High Risk PRs Require 2 approvals

Low risk.

What protocols, transaction types or contract interactions might be affected by this PR?

None of the above.

Testing

Engineering

Operations

Screenshots (if applicable)

An ETH account may have some FOX but 0 ETH, so is active: image image

Similarly, a BTC account may have 0 BTC balance but non-zero thorchain savers balance: image image

Showing auto-detected accounts up to first empty one (it has 0ETH but has fox, so was detected. the second empty account is actually totally empty). The account after the 2 0ETH accounts has some eth, and the balance is loaded when viewed:

https://github.com/shapeshift/web/assets/125113430/eab0a622-4afe-437f-8547-b2a50a933523