seismic-viem / sanvil
Variable: sanvil
const sanvil: object;Defined in: packages/seismic-viem/src/chain.ts:307
For connecting to a locally-running seismic anvil instance. Use sfoundryup to install this
Type declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
blockExplorers? | { [key: string]: ChainBlockExplorer; default: ChainBlockExplorer; } | Collection of block explorers | viem @ types/chain.d.ts |
contracts? | { [key: string]: undefined | ChainContract | {}; ensRegistry: ChainContract; ensUniversalResolver: ChainContract; multicall3: ChainContract; universalSignatureVerifier: ChainContract; } | Collection of contracts | viem @ types/chain.d.ts |
custom? | Record<string, unknown> | Custom chain data. | viem @ types/chain.d.ts |
fees? | ChainFees<undefined> | Modifies how fees are derived. | viem @ types/chain.d.ts |
formatters | ChainFormatters | Modifies how data is formatted and typed (e.g. blocks and transactions) | viem @ types/chain.d.ts |
id | 31337 | ID in number form | viem @ types/chain.d.ts |
name | "Anvil" | Human-readable name | viem @ types/chain.d.ts |
nativeCurrency | { decimals: 18; name: "Ether"; symbol: "ETH"; } | Currency used by chain | viem @ types/chain.d.ts |
rpcUrls | { default: { http: readonly ["http://127.0.0.1:8545"]; webSocket: readonly ["ws://127.0.0.1:8546"]; }; } | Collection of RPC endpoints | viem @ types/chain.d.ts |
serializers? | ChainSerializers<undefined, TransactionSerializable> | Modifies how data is serialized (e.g. transactions). | viem @ types/chain.d.ts |
sourceId? | number | Source Chain ID (ie. the L1 chain) | viem @ types/chain.d.ts |
testnet? | boolean | Flag for test networks | viem @ types/chain.d.ts |