Skip to content

tina1998612/browserCompileSolidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

browserCompileSolidity

Overview

A mini text editor for compiling solidity code from client side! (can be added as a script in any project)
Replace the example solidty code with yours and press the compile button:)

Live demo: please run it in google chrome;)

Note:

Remember to enable metamask extension and login to your metamask account

Screenshot

demo img

Run from script

git clone https://github.com/tina1998612/browserCompileSolidity.git
cd browserCompileSolidity
python -m SimpleHTTPServer // this will link localhost:8000 to our index.html

Then navigate to `localhost:8000` to start!
You can open the inspecter window to check the output(compiled bytecode & abi) in the browser console