You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,8 @@
1
1
This is a helper to compile and deploy smart contracts through geth.
2
2
3
-
Start geth with following flags (along with the others you may need). You can change the rpcport to any port number. Just remember to change that in the script.
3
+
Install solc compiler.
4
4
5
-
`geth --rpc --rpcport 8100 --rpccorsdomain "*"`
6
-
7
-
Then move `solc_helper` to somewhere in your path.
5
+
Move `solc_helper` to somewhere in your path.
8
6
To compile your code run
9
7
10
8
`solc_helper contract.sol`
@@ -43,3 +41,5 @@ To watch the watch an event you can use the watcher function.
43
41
```javascript
44
42
contractInstance.eventName(watcher);
45
43
```
44
+
45
+
The script will also printout the gas estimates when you try to compile.
0 commit comments