sol-rs icon indicating copy to clipboard operation
sol-rs copied to clipboard

consider using the "standard json" interface of solc

Open axic opened this issue 7 years ago • 2 comments

The compiler expects a JSON formatted input (with all sources, required outputs and settings) and returns a JSON with all the required outputs.

For more details see https://solidity.readthedocs.io/en/develop/using-the-compiler.html#compiler-input-and-output-json-description

axic avatar Dec 22 '17 14:12 axic

working on a wrapper around solc/solcjs over here https://github.com/snd/rust_solc that will use the standard json interface. soon we'll be able to replace the solc part of sol-rs by it.

snd avatar Jun 07 '18 19:06 snd

unfortunately "standard json" seems broken for solcjs: https://github.com/ethereum/solc-js/issues/126

i'll might still implement it but this makes it somewhat less useful as people will need solc (C++) to use it and can't choose

snd avatar Jun 07 '18 22:06 snd