hardhat icon indicating copy to clipboard operation
hardhat copied to clipboard

Replace ethereumjs usages with micro-eth-signer

Open kanej opened this issue 1 year ago • 1 comments

Replace ethereumjs usages with micro-eth-signer for Hardhat v3.

With EDR replacing the Hardhat Network with a rust implementation we are using Ethereumjs less. We suspect our remaining usages are related to signing. This task is to replace those usages.

We intend to use micro-eth-signer as it is small and focused with 3 deps.

TODO

  • [ ] A quick analysis of ethereumjs usages across the HHv3 codebase, identifying those usages that can be replaced with the micro-eth-signer and which can't (creating a follow up issue for those cases)
  • [ ] Swap in the micro-eth-signer for these cases

kanej avatar Apr 22 '24 10:04 kanej

Questions

  1. Is the intent to replace actual usages in v3 with the signer, or provide a utils option that can be used in the future
  2. Are there existing utils that could leverage signer instead of ethereum/js

kanej avatar May 07 '24 13:05 kanej