Page MenuHomePhabricator

[Cashtab] Patch dependency webpack error for local-ecpair
ClosedPublic

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

Details

Summary

T2730

While the 3-part stack for implementing local ecpair worked under npm start, it did not work in prod. This is because webpack compression removed BigInteger typing. This diff reserves BigInteger typing.

Test Plan
npm run build
npm i -g serve
serve -s build

Navigate to localhost:3000
Send an XEC tx
Send an eToken tx

This diff is also deployed at https://cashtab-local-dev.netlify.app/
Visit this site on mobile, send an XEC tx, send an eToken tx

Diff Detail

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