SetAccountHandler
SetAccountHandler: (
params) =>Promise<SetAccountResult>
Sets the state of a specific ethereum address
Example
import {parseEther} from 'tevm'
await tevm.setAccount({ address: '0x123...', deployedBytecode: '0x6080604...', balance: parseEther('1.0')})Parameters
• params: SetAccountParams
Returns
Promise<SetAccountResult>
Source
handlers/SetAccountHandler.ts:14