Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 143193

Javascript API and library for Ethereum To develop applications on Ethereum, you can use the web3 object provided by the web3.js library. Under the hood it communicates to a local node through RPC calls. web3.js works with any Ethereum node, which exposes an RPC layer. https://github.com/ethereum/wiki/wiki/JavaScript-API

1 vote
1 answer
33 views

Using quoter to estimate price impact for UniswapV3 Pools

I'm currently trying to retrieve the price impact of a swap on a UniswapV3 pool. Uniswap itself seems to suggest the use of its quoter contract. I see that the quoter contract has the "quoting" functi …
null's user avatar
  • 13
0 votes
1 answer
26 views

Permit2 Invalid Nonce when running on Hardhat

I'm writing tests for an application that is meant to perform swaps. When running with hardhat as rpc forked with the latest block of mainnet or a pinned block I always encounter this error: response …
null's user avatar
  • 13
0 votes
Accepted

Permit2 Invalid Nonce when running on Hardhat

Apparently setting a fixed chain id solves it. Using the following config made the trick: module.exports = { solidity: "0.8.17", networks: { hardhat: { forking: { url: "RPC", …
null's user avatar
  • 13