remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
d11e9 6a712241f6 upgrade web3 to custom 0.13.0 release with exposed eth.function 9 years ago
libs upgrade web3 to custom 0.13.0 release with exposed eth.function 9 years ago
stylesheets remove a tag from caveat 9 years ago
LICENSE.md Top-level license file. 9 years ago
README.md bump npm version to match latest 9 years ago
ballot.sol.js undo ballot import example 9 years ago
index.html render error on getAddress request fail 9 years ago
index.js re-add soljson.js and add version func 9 years ago
package.json npm version bump 0.1.4-2 to match latest 9 years ago
solidity.svg ui tidy and show syntax errors in editor 9 years ago

README.md

#Browser-solidity

Browser solidity is a browser based solidity compiler. To use either visit https://chriseth.github.io/browser-solidity or clone/download this repo and open index.html in your browser.

#Nodejs usage

To use the solidity compiler via nodejs you can install it via npm

npm install solc

And then use it like so:

var solc = require('solc');
var input = "contract x { function g() {} }";
var output = solc.compile(input, 1); // 1 activates the optimiser
for (var contractName in output.contracts)
	console.log(contractName + ': ' + output.contracts[contractName].bytecode);