solc-js icon indicating copy to clipboard operation
solc-js copied to clipboard

Javascript bindings for the Solidity compiler

Results 95 solc-js issues
Sort by recently updated
recently updated
newest added

The test is trying to parse `{invalid`. Doing so with `nlohmann::json` will create the following error: ```json { "errors": [ { "component": "general", "formattedMessage": "[json.exception.parse_error.101] parse error at line 1,...

testing :hammer:

Please include the key `content` along with a description . Reference (see section `3.13.3` , `input description` ): `https://docs.soliditylang.org/_/downloads/en/latest/pdf/`

documentation :book:

Hey, I'm to trying to use the import fallback with web workers as follows but can't get it to work (the console.log doesn't get called either). It compiles without issue...

I have made a verification service which verifies smart contracts. I have and endpoint that I'm trying to test. It receives all the solidity files and a few settings and...

Locks down dependencies so that we are only getting the versions that we intended. fixes https://github.com/ethereum/solc-js/issues/570

- add .d.ts files to final build with `declaration: true` in tsconfig - include .d.ts file in final tarball

- `solc` supports the `--metadata` flag, see https://docs.soliditylang.org/en/v0.8.17/metadata.html#contract-metadata - `solcjs` does not: ```text $ solcjs --bin --abi --metadata ./account.sol error: unknown option '--metadata' ``` - I would like to have...

Hi, I'm getting an internal exception error but I'm not too sure why. I'm running solc on an express server. ### Steps to getting this error: 1) Compile a contract...

bug :bug:
high effort
medium impact
must have

I'm using `solc` in a typescript project but typings are not exported in the npm package. Please consider updating the package release to include the typings.

We've come across an issue while recompiling a contract with `0.4.19` as laid out here: https://github.com/ethereum/sourcify/issues/1017 TLDR: The compiler gives empty JSON output without throwing because the `outputSelection` fields were...