@ethereumjs/vm / createVM
createVM(
opts?):Promise<VM>
Defined in: vm/src/constructors.ts:24
Async factory for initializing a VM with sensible defaults.
Supplies mainnet @ethereumjs/common!Common, @ethereumjs/evm!EVMMockBlockchain, @ethereumjs/statemanager!MerkleStateManager, and a nested @ethereumjs/evm!createEVM instance when not provided.
VMOpts = {}
Promise<VM>
If both evm and evmOpts are set, or if conflicting profiler options are enabled