Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 622 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 622 Bytes

solc-fast

a simple ESM wrapper around the native solc compiler to allow for faster compile times.

solc is convenient and easy to install, but it uses a WASM build of the solc compiler under the hood which is DRASTICALLY slower than using the native binary. this simple package downloads the solc native compiler and provides a simple wrapper function around calling it w/ the standard JSON format.

installation

pnpm add solc-fast

usage

import { compile } from 'solc-fast'

const compiledOutput = await compile({
  language: 'Solidity',
  // ...
})