@bradthomasbrown/anvil
v1.0.0
Published
Minimal, unoptimized, and unaudited { bun, podman, foundry/anvil } library in JavaScript/TypeScript.
Downloads
109
Readme
anvil
This is a simple, minimal implementation of some features or bindings of foundry's anvil EVM test nodes (via Bun JS, podman, and foundry/anvil container images) in TypeScript/JavaScript.
Why?
There are some scattered libraries, but not with this sort of particular setup and the ones that exist are not simple and minimal.
Installation
npm i @bradthomasbrown/anvilUsage
import { Anvil } from "@bradthomasbrown/anvil";
const node = await Anvil.make();
console.log(await node.blockNumber());