|
|
@ -26,28 +26,24 @@ General command line options |
|
|
|
==================== |
|
|
|
==================== |
|
|
|
|
|
|
|
|
|
|
|
``` |
|
|
|
``` |
|
|
|
-c Launch the developer console (node only) |
|
|
|
Shared between ethereum and ethereal |
|
|
|
-m Start mining blocks |
|
|
|
-m Start mining blocks |
|
|
|
-genaddr Generates a new address and private key (destructive action) |
|
|
|
-genaddr Generates a new address and private key (destructive action) |
|
|
|
-p Port on which the server will accept incomming connections (= 30303) |
|
|
|
-p Port on which the server will accept incomming connections |
|
|
|
-upnp Enable UPnP (= false) |
|
|
|
-upnp Enable UPnP |
|
|
|
-x Desired amount of peers (= 5) |
|
|
|
-x Desired amount of peers |
|
|
|
-h This help |
|
|
|
|
|
|
|
-r Start JSON RPC |
|
|
|
-r Start JSON RPC |
|
|
|
-dir Data directory used to store configs and databases (=".ethereum") |
|
|
|
-dir Data directory used to store configs and databases |
|
|
|
-import Import a private key (hex) |
|
|
|
-import Import a private key |
|
|
|
``` |
|
|
|
-h This |
|
|
|
|
|
|
|
|
|
|
|
Developer console commands |
|
|
|
Ethereum only |
|
|
|
========================== |
|
|
|
ethereum [options] [filename] |
|
|
|
|
|
|
|
-js Start the JavaScript REPL |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Etheral only |
|
|
|
|
|
|
|
-asset_path absolute path to GUI assets directory |
|
|
|
``` |
|
|
|
``` |
|
|
|
addp <host>:<port> Connect to the given host |
|
|
|
|
|
|
|
tx <addr> <amount> Send <amount> Wei to the specified <addr> |
|
|
|
|
|
|
|
contract <value> <gasprice> Creates a new contract and launches the editor |
|
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
See the "help" command for *developer* options. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Contribution |
|
|
|
Contribution |
|
|
|
============ |
|
|
|
============ |
|
|
|