I am trying to use the library “ethereumjs-tx” but it does not work.
I get this error message: “TypeError: Tx is not a constructor” on the code “const tx = new Tx(txObject)”.
Here is my code:
const Tx = require(‘ethereumjs-tx’)
const tx = new Tx(txObject)
Thank you for your help