CompilerConfig
CompilerConfig:
object
Configuration of the solidity compiler When resolved with defaults it is a ResolvedCompilerConfig
Type declaration
cacheDir?
optional
cacheDir:string
Location of the tevm cache folder
debug?
optional
debug:boolean
If debug is true tevm will write the .d.ts files in the ts server and publish extra debug info to a debug file
foundryProject?
optional
foundryProject:boolean
|string
If set to true it will resolve forge remappings and libs Set to “path/to/forge/executable” to use a custom forge executable
jsonAsConst?
optional
jsonAsConst:string
| readonlystring
[]
A glob pattern or array of glob patterns indicating which ABIs should be resolved as const. This allows for more precise typing of ABIs in TypeScript.
libs?
optional
libs: readonlystring
[]
Sets directories to search for solidity imports in Read autoamtically for forge projects if forge: true
remappings?
optional
remappings:ReadonlyRecord
<string
,string
>
Remap the location of contracts