Files
xermicus 11f82c8488 Support solc v0.8.31 (#430)
- Support for solc v0.8.31.
- Support for the `clz` Yul builtin.

---------

Signed-off-by: xermicus <cyrill@parity.io>
2025-12-05 15:25:13 +01:00
..
2025-12-05 15:25:13 +01:00

Usage from Node.js

import { compile } from "@parity/resolc";
const sources = {
["contracts/1_Storage.sol"]: {
    content: readFileSync("fixtures/storage.sol", "utf8"),
}

const out = await compile(sources);

Usage from shell

 npx @parity/resolc@latest --bin contracts/1_Storage.sol