quiseos
Version:
EVM Networks & Node Providers Parameters Documentation
32 lines (29 loc) • 772 B
text/typescript
import { type Network } from '../types/types'
import { localhostProvider } from '../providers'
export const hardhat = {
id: 31337,
name: 'Hardhat',
network: 'hardhat',
infoUrl: 'https://hardhat.org/',
docsUrl: 'https://hardhat.org/docs/',
eipUrl: 'none',
nativeCurrency: {
name: 'Ether',
symbol: 'ETH',
uSymbol: 'Wei',
decimals: 18,
},
rpcNodes: {
public: {
http: ['http://127.0.0.1:8545'],
provider: localhostProvider,
authenticated: false,
},
default: {
http: ['http://127.0.0.1:8545'],
provider: localhostProvider,
authenticated: false,
},
},
testnet: true,
} as const satisfies Network