Page MenuHomePhabricator

[Cashtab] Add local function to convert hash160 to ecash: address
ClosedPublic

Authored by bytesofman on Nov 28 2022, 07:19.

Details

Summary

T2812

Add a local function to convert a hash160 string to an ecash: address

This is needed to get eToken minting addresses for the Airdrop screen

Test Plan

Make sure I'm not overlooking some much easier way to get from string to Uint8Array
npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
hash160-to-address
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21210
Build 42072: Build Diffcashtab-tests
Build 42071: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Nov 29 2022, 14:34