Page MenuHomePhabricator

[Cashtab] Show token info on Send Token screen
ClosedPublic

Authored by bytesofman on May 10 2021, 22:19.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC61c70bb129ac: [Cashtab] Show token info on Send Token screen
Summary

Fetch additional token info from API when the user navigates to the Send Token screen.

If the API call fails, render the token info already saved in wallet state. The info panel is only rendered if the API call returns a validated object. Unit tests are added for validation.

Test Plan

npm start, go to the send token screen, check out the stats

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable