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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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