ScopeLift / kaspa-wallet

👝 A web wallet for the Kaspa blockchain network
4 stars 2 forks source link

Confirmation Thresholds For tx Circle Indicator #94

Open apbendi opened 4 years ago

apbendi commented 4 years ago

Issue 10.1

Implement thresholds for indicator shown next to Transactions and on the Transaction Detail screen

Screen Shot 2020-08-14 at 10 00 41 PM

TBD: the confirmations for each set of thresholds. These should be easy to configure/update in the code.

apbendi commented 4 years ago

Update: the circle should actually be continuous from confirmations 0 through 45, then should show a single check mark from 46 to 86,400, then should show double check marks after that.

After confirming the transaction, until the first confirmation comes, use the regular waiting animation that you already used (for loading the tx history). Then as confirmations add up (x confirmations = x/46 of a circle). The wedge will complete to a full circle on 46 confirmations. At this point there should be a checkmark inside the circle instead of the number of confirmations. 86,400 confirmations mark finality and will be represented by double checkmark inside the circle.