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
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,11 +27,11 @@ An interactive Solidity shell with lightweight session recording and remote comp
27
27
352
28
28
```
29
29
30
-
Oh, did you know that we automatically fetch a matching remote compiler when you change the solidity pragma? It is as easy as typing `pgrama solidity 0.5.0` and solidity-shell will do the rest 🙌
30
+
Oh, did you know that we automatically fetch a matching remote compiler when you change the solidity pragma? It is as easy as typing `pgrama solidity 0.5.0` and solidity-shell will do the rest 🙌.
31
31
32
-
### Hints
33
32
34
33
34
+
### Hints
35
35
36
36
*`pragma solidity <version>` attempts to dynamically load the selected compiler version (remote compiler, may take a couple of seconds).
37
37
* Sessions can be saved and restored using the `.session` command. Your previous session is always stored and can be loaded via `.session load previous` (not safe when running concurrent shells).
@@ -41,8 +41,19 @@ Oh, did you know that we automatically fetch a matching remote compiler when you
41
41
*`$_` is a placeholder for the last known result. Feel free to use that placeholder in your scripts :)
42
42
* Special commands are dot-prefixed. Everything else is evaluated as Solidity code.
43
43
44
+
44
45
### Usage
45
46
47
+
#### Cmdline Passthru
48
+
49
+
Any arguments provided after an empty `--` are directly passed to `ganacheCmd` (default: `ganache-cli`). This way, for example, you can start a solidity shell on a ganache fork of mainnet via infura. Check `ganache-cli --help` for a list of available options.
0 commit comments