You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error in plugin @nomicfoundation/hardhat-viem: No network with chain id 3113031 found. You can override the chain by passing it as a parameter to the client getter:
import { someChain } from "viem/chains";
const client = await hre.viem.getPublicClient({
chain: someChain,
...
});
You can find a list of supported networks here: https://github.com/wevm/viem/blob/main/src/chains/index.ts
For more info run Hardhat with --show-stack-traces
Feature request
I want to be able to direct hardhat-viem to my defined chainId and node url, should probably use defineChain from viem, somewhere around this codepath I guess. I tried to sketch up some code, but it seems not as trivial since EthereumProvider doesn't exposes the json url.
Search terms
No response
The text was updated successfully, but these errors were encountered:
Describe the feature
Description
My project is using
hardhat-viem
When setting up a local Ethereum development network ( not hardhat/foundry, a whole ethereum network ), in
hardhat.config.ts
, e.g:I'm getting this error:
Feature request
I want to be able to direct
hardhat-viem
to my defined chainId and node url, should probably usedefineChain
fromviem
, somewhere around this codepath I guess. I tried to sketch up some code, but it seems not as trivial since EthereumProvider doesn't exposes the json url.Search terms
No response
The text was updated successfully, but these errors were encountered: