Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [etherjs]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
2 answers

How to mock smart contract function for testing (in hardhat)

In my Test I want to mock an external function that I call inside my smart contract to test both conditions without writing and deploying an extra fake smart contract. My Contract //SPDX-License-...
Majd TL's user avatar
  • 3,237
3 votes
1 answer

Uniswap Universal Router - Decoding the Execute function parameters

I used the method described in this thread (Decode Uniswap Universal Router transaction in ethers.js) and decoded most of the data of a transaction at this link:
python_rok's user avatar