Page MenuHomePhabricator

[Cashtab] [extension address passing p8] Add listener function to contentscript.js and GetAddress.tsx
ClosedPublic

Authored by bytesofman on Oct 19 2022, 18:32.

Details

Summary

T2550

Depends on D12320

After getting a request to fetch the address, respond back with the address.

Test Plan
cd web/cashtab
npm run extension
cd ../cashtab-components
npm run storybook

Navigate to brave://extensions
Click 'update' and click 'Inspect views from background page'
Navigate to your local storybook. Click "Get Address"
In the dev console for background.js, confirm the address appears
In the dev console for your storybook, confirm the address appears
Change the active wallet in the extension
Repeat and confirm for new address

Event Timeline

bytesofman retitled this revision from [Cashtab] [extension address passing p7] Add listener function to contentscript.js and GetAddress.tsx to [Cashtab] [extension address passing p8] Add listener function to contentscript.js and GetAddress.tsx.Oct 19 2022, 18:32
This revision is now accepted and ready to land.Oct 25 2022, 03:52