solc-js
solc-js copied to clipboard
Javascript bindings for the Solidity compiler
Hi: I run this command: `solcjs --bin --include-path node_modules/ --base-path . LookupContract.sol` And get this result: ``` Warning: Visibility for constructor is ignored. If you want the contract to be...
This PR attempt to solve the issue https://github.com/ethereum/solc-js/issues/632. It adds a test to verify if the current version is equal to the downloaded one, and it also modifies the downloader...
Hi, I am using solc-js independently as I am trying to deploy some contracts in Hedera. I have a question for you. Truffle and Hardhat generate a bytecode in the...
We used to test that `solcjs --version` returns a version matching the one from `package.json`. I changed that in #626 because this is not really guaranteed - the returned version...
We specifically compile ``soljson.js`` with ``WASM_ASYNC_COMPILATION=0`` - there was a reason for this, but I don't remember right now. However, I think at least chromium-based browsers won't allow synchronous compilation...
i am unclear on what 'root of source tree' means when using the `base-path` flag `$(npm bin)/solcjs --bin --output-dir build --base-path ./contracts Test.sol` returns : `Error reading Test.sol: Error: ENOENT:...
# Why? This change works on refactoring out the wrapper.ts file to allow improved maintainability, extensibility with support of easy typing. The current implementation is one continuous function call which...
Feat #287 This Pull Request adds types & inline documentation for compiler input & output based on the [Compiler Input & Output documentation](https://docs.soliditylang.org/en/v0.8.14/using-the-compiler.html#compiler-input-and-output-json-description) and the [ABI Spec documentation](https://docs.soliditylang.org/en/v0.8.14/abi-spec.html). Some types...
Fixes #562.
Currently [in the README](https://github.com/ethereum/solc-js/blob/master/README.md#browser-usage): > Add the version of solc you want to use into index.html: > > > (Alternatively use https://solc-bin.ethereum.org/bin/soljson-latest.js to get the latests version.) This is not...