Quantcast
Channel: QuickNode - Latest topics
Viewing all articles
Browse latest Browse all 99

How To Trace Solidity Errors On Websocket (Hardhat)?

$
0
0

If I had hair, I’d be tearing it out trying to get to the bottom of this.

I have a hardhat javascript bot to analyze and make trades on ethereum that connects via websocket on web3js.

I’m currently forking the chain to work with any errors in my smart contract code and my trade execution functions on javascript.

The problem is that the only solution I can find to trace errors is hardhat-trace, but that requires a http RPC. I really can’t use a http due to the way my bot is built.

Is there any way I can error handle while using websockets?

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 99

Trending Articles