Add solc text helper #3196

This commit is contained in:
Nicolas Gotchac 2016-11-17 14:09:02 +01:00
parent d41efcc84e
commit 52f3d3cccd

View File

@ -126,6 +126,8 @@ export default class ParametersStep extends Component {
return (
<div>
<p>To get <code>solc</code> output, you can use this command:</p>
<code>solc --combined-json abi,bin Contract.sol | xclip -selection c</code>
<Input
label='solc output'
hint='the output of solc'
@ -232,6 +234,8 @@ export default class ParametersStep extends Component {
});
} catch (e) {
this.setState({ contracts: null });
this.onAbiChange('');
this.onCodeChange('');
}
this.setState({ solcOutput: value });