Skip to content

rayzr522/solc-fast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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',
  // ...
})

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published