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