Open vkryl opened 1 month ago
The submission is overfilled with animations, little details, and fintech precision when working with balances and arithmetic operations.
I wanted to give an additional credit to some probably not noticeable things, but which required an effort:
Swap
section are the only place in the app where they are displayed accurately. It turns out that balances that app displays in various places are not correct, because 32-bit float
is used. 64-bit signed long
for nano also causes problems for some tokens (FISH
token is the best for finding all of the problems: when you open chart screen, where the balance is intended to be displayed accurately, many digits are zeroed out). I've deprecated some of the methods, added properly working alternatives, and added comments with guide on how to migrate to them in other parts of the app.Continue
button), the transaction is simulated on the blockchain, and up-to-date market rate is fetched.tonkeeper.ston.fi
Swap
screen is opened without network, or connection is lost while it was open, it will properly recover once the device is back online.There're, of course, dozen of other details packed in this submission, like few tools which should help the development of animations and bringing the X quality to Tonkeeper. :) I may post some animation demos here later, but I hope they aren't necessary and you will enjoy them.
Here's a sample issue for №1 in the list above.
222,493,621.88751073
FISH
.tonviewer.com
the decimal part is rounded to 222,493,621.89
(it seems it has the the "decimal size for UI" field for tokens).222,493,616
, which is incorrect (lost 5.89 FISH
)@vkryl
on Telegram.
Native Swap + Animation tools, core improvements & bugfixes, new widgets, and more.
Most of the work is related to everything that happens after pressing "Swap" button.
APK for testing: APK
Note for regular users who are going to test it: Tonkeeper X is work-in-progress project, it is recommended to create a new wallet inside this Tonkeeper X, and send TON to that balance if someone wants to play with Swap feature, and all animations it brings (do not use primary wallet until it is released, and be aware of scams).