@brinkninja/node-anvil
v0.1.7
Published
Node.js utility for Foundry's anvil process
Downloads
436
Keywords
Readme
node-anvil
Node.js utility for Foundry's anvil process
Use
Install
npm install --save-dev @brinkninja/node-anvil
Import startAnvil
import { startAnvil } from '@brinkninja/node-anvil'
Use startAnvil
to start and kill the anvil process. Provide any anvil command line args as camelCase.
const anvil = await startAnvil({ forkUrl: '<MY_RPC_URL>', port: 8546 })
anvil.kill()