Closed ericpassmore closed 1 year ago
the Elliptic package that we use also has BN as a dependency, so in order to fully get rid of it we might have to abandon Elliptic.
That is a good point. I removed the good first issue tag. Considering closing this as won't fix.
Is Elliptic an industry standard package or something? Maybe we try out another package that can do the same but without that BN dependency. If we can replace Elliptic I think it'd be worth doing, though maybe later.
Elliptic is an industry standard package. I suggestion we look at updating elliptic to remove the bn.js dependency first, and only change to another encryption curve package if they would not take our fix.
Closing this issue with comment
Remove bignumber npm package and use native BigInt function. Check before and after size of package to measure improvement.