solc-wrapper

Wrapper for the Solidity compiler emscripten version

Usage no npm install needed!

<script type="module">
  import solcWrapper from 'https://cdn.skypack.dev/solc-wrapper';
</script>

README

solc-js-wrapper

npm install solc-wrapper

JavaScript bindings for the Solidity compiler.

Wraps the Emscripten compiled Solidity found in the solc-bin repository.

This is a fork of the original project solc-js, with the difference that it removes the binary solc, and does not bundle any emscripten version by default. It is intended to be used from code only, and not from the command line.

It exports the wrapper function that receives the emscripten binary and returns the js friendly wrapper.