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
<sub><b>note:</b> may require `npm install ganache-cli`if option `autostartGanache=True` (default)
13
+
<sub><b>note:</b> may require `npm install ganache-cli`unless it is already installed :)
14
14
</sub>
15
15
16
-
17
16
```javascript
18
17
⇒ solidity-shell
19
18
@@ -28,17 +27,19 @@ An interactive Solidity shell with lightweight session recording.
28
27
352
29
28
```
30
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 🙌
31
+
31
32
### Hints
32
33
33
34
34
-
***Note**: Type `pragma solidity <version>` to dynamically load a different compiler version.
35
-
***Note**: 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).
36
-
***Note**: `.reset` completely removes all statements. `.undo` removes the last statement.
37
-
***Note**: See what's been generated under the hood? call `.dump`.
38
-
***Note**: Settings are saved on exit (not safe when running concurrent shells). call `config set <key> <value>` to change settings like ganache port, ganache autostart, etc.
39
-
***Note**: Solidity version is currently fixed to the `solc` package that comes with the shell. If there's interest we might change that to allow remote compiler versions.
40
-
***Note**: `$_` is a placeholder for the last known result. Feel free to use that placeholder in your scripts :)
41
-
***Note**: Special commands are dot-prefixed. Everything else is evaluated as Solidity code.
35
+
36
+
*`pragma solidity <version>` attempts to dynamically load the selected compiler version (remote compiler, may take a couple of seconds).
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).
38
+
*`.reset` completely removes all statements. `.undo` removes the last statement.
39
+
*See what's been generated under the hood? call `.dump`.
40
+
*Settings are saved on exit (not safe when running concurrent shells). call `config set <key> <value>` to change settings like ganache port, ganache autostart, etc.
41
+
*`$_` is a placeholder for the last known result. Feel free to use that placeholder in your scripts :)
42
+
* Special commands are dot-prefixed. Everything else is evaluated as Solidity code.
0 commit comments