solc-js
solc-js copied to clipboard
Javascript bindings for the Solidity compiler
It would be nice if `solc/wrapper` were pulled out of solc-js and made into it's own dependency. 🙏
The `compile` function takes in a string, when really it wants a well described JS object. In JS, this isn't much of a difference but when using something like TypeScript...
This isn't complete, but it is _way_ better than nothing and gives a place for people to add additional typescript definitions in the future. Recommend switching over to TypeScript for...
It would be handy to add another API like ```solidity var versions = solc.version('0.5.7'); /*versions outputs [{ { "path": "soljson-v0.5.7-nightly.2019.3.21+commit.ebb8c175.js", "version": "0.5.7", "prerelease": "nightly.2019.3.21", "build": "commit.ebb8c175", "longVersion": "0.5.7-nightly.2019.3.21+commit.ebb8c175", "keccak256": "0xb8c40183cad60589ad1bbec54df5cd9e84c16899a6fbf09d42ccfbc1e9a41157",...
There is a simple tool in solc-js providing an "upgrade" path for ABI JSON output by any compiler version to be translated to "latest standards". This function is in `abi.js`...
Closes https://github.com/ethereum/solc-js/issues/219. Behaviour is now the same as for native `solc`. EDITED by @r0qs: I pushed my attempt to finish this PR. It adds the `overwrite` flag and tests to...
This implements latest solc feature and can be used to test nightly builds.
Depends on #193. Could run `findLinkReferences` + `linkBytecode` based on the settings provided.
The PR fixes the below issues adding documentation about their respective topics: - Adds documentation recommending the use of [SRI](https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity) when fetching the binaries: https://github.com/ethereum/solc-js/issues/334 - Adds documentation about the...