MemoryClient
MemoryClient:
Prettify
<Client
<Transport
,undefined
,undefined
, [...PublicRpcSchema
, …TestRpcSchema<“anvil” | “ganache” | “hardhat”>,JsonRpcSchemaTevm
["tevm_call"
],JsonRpcSchemaTevm
["tevm_script"
],JsonRpcSchemaTevm
["tevm_dumpState"
],JsonRpcSchemaTevm
["tevm_loadState"
],JsonRpcSchemaTevm
["tevm_getAccount"
],JsonRpcSchemaTevm
["tevm_setAccount"
]],PublicActions
&TevmActions
>>
A local EVM instance running in JavaScript. Similar to Anvil in your browser/node/bun environments It wraps the viem public client and test client
See
- TevmClient
- WrappedEvm for an remote client
Example
Source
packages/memory-client/src/MemoryClient.ts:40