0

On arbitrum network...

const prABI = require('./gmx-interface-master/src/abis/PositionRouter.json');
const PositionRouter = await new ethers.Contract("0xb87a436B93fFE9D75c5cFA7bAcFff96430b09868", prABI, signer)

The above code is crashing NodeJS...

2
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Commented Dec 21, 2022 at 12:38
  • @yunstun You don't need to write await
    – 0xSanson
    Commented Dec 21, 2022 at 14:32

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.