solc-js
solc-js copied to clipboard
Javascript bindings for the Solidity compiler
https://github.com/ericxtang/browser-solc
The `linkBytecode` method should accept an optional third parameter which is a `linkReferences` map. It should be used if it is present, otherwise should fall back on manual search for...
- [x] linker.js - [ ] translate.js (tracked in #414) - [ ] wrapper.js - [ ] test for compiler errors - [ ] test with every single release...
For example `--optimize-runs 200` shouldn't be silently accepted, but not used.
And in that case stdio reading can be done properly using: ``` process.stdin.on('data', function(chunk) { }) process.stdin.on('end', function() { }) ```
This should be done after the (majority of the) current PRs are closed.
It should also do proper version verification and processing prior to downloading from solc-bin. This was raised by @kobigurk, who wants to cache the downloaded versions.
This PR is the migration of the whole library from javascript to typescript. Jest testing framework is being used in rewrite instead of tape. TODO: * check if the wrapper...
by adding the following line: const solc = require('solc'); in my App.js file, I get the error below when loading the page. I believe this could be caused by webpack...