Move all documentation below /docs (#20072)
* Move pages one level deeper under the /docs folder and fix broken links * Fix broken links * Flatten clef/qubes links to clef * Remove path debugging from main template
This commit is contained in:
committed by
Felix Lange
parent
8dc979183f
commit
8e49d1571d
@ -3,7 +3,7 @@ title: JavaScript console
|
||||
---
|
||||
Ethereum implements a **javascript runtime environment** (JSRE) that can be used in either interactive (console) or non-interactive (script) mode.
|
||||
|
||||
Ethereum's Javascript console exposes the full [web3 JavaScript Dapp API](https://github.com/ethereum/wiki/wiki/JavaScript-API) and the [admin API](JavaScript-Console#javascript-console-api).
|
||||
Ethereum's Javascript console exposes the full [web3 JavaScript Dapp API](https://github.com/ethereum/wiki/wiki/JavaScript-API) and the [admin API](#javascript-console-api).
|
||||
|
||||
## Interactive use: the JSRE REPL Console
|
||||
|
||||
@ -18,7 +18,7 @@ The attach node accepts an endpoint in case the geth node is running with a non
|
||||
$ geth attach http://191.168.1.1:8545
|
||||
$ geth attach ws://191.168.1.1:8546
|
||||
|
||||
Note that by default the geth node doesn't start the http and weboscket service and not all functionality is provided over these interfaces due to security reasons. These defaults can be overridden when the `--rpcapi` and `--wsapi` arguments when the geth node is started, or with [admin.startRPC](Management-APIs#admin_startrpc) and [admin.startWS](Management-APIs#admin_startws).
|
||||
Note that by default the geth node doesn't start the http and weboscket service and not all functionality is provided over these interfaces due to security reasons. These defaults can be overridden when the `--rpcapi` and `--wsapi` arguments when the geth node is started, or with [admin.startRPC](management-apis#admin_startrpc) and [admin.startWS](management-apis#admin_startws).
|
||||
|
||||
If you need log information, start with:
|
||||
|
||||
@ -74,4 +74,4 @@ In addition to the full functionality of JS (as per ECMA5), the ethereum JSRE is
|
||||
|
||||
Beside the official [DApp API](https://github.com/ethereum/wiki/JSON-RPC) interface the go ethereum node has support for additional management API's. These API's are offered using [JSON-RPC](http://www.jsonrpc.org/specification) and follow the same conventions as used in the DApp API. The go ethereum package comes with a console client which has support for all additional API's.
|
||||
|
||||
[The management API has its own wiki page](Management-APIs).
|
||||
[The management API has its own page](management-apis).
|
||||
|
@ -58,7 +58,7 @@ These additional APIs follow the same conventions as the official DApp APIs. Web
|
||||
[extended](https://github.com/ethereum/web3.js/pull/229) and used to consume these additional APIs.
|
||||
|
||||
The different functions are split into multiple smaller logically grouped APIs. Examples are given
|
||||
for the [JavaScript console](JavaScript-Console) but
|
||||
for the [JavaScript console](javascript-console) but
|
||||
can easily be converted to an RPC request.
|
||||
|
||||
**2 examples:**
|
||||
|
@ -27,7 +27,7 @@ or import). Without it you are not able to unlock your account.
|
||||
Note that exporting your key in unencrypted format is NOT supported.
|
||||
|
||||
Keys are stored under `<DATADIR>/keystore`. Make sure you backup your keys regularly! See
|
||||
[DATADIR backup & restore](../doc/Backup--restore)
|
||||
[DATADIR backup & restore](../install-and-build/backup-restore)
|
||||
for more information. If a custom datadir and keystore option are given the keystore
|
||||
option takes preference over the datadir option.
|
||||
|
||||
@ -62,7 +62,7 @@ OPTIONS:
|
||||
--keystore Directory for the keystore (default = inside the datadir)
|
||||
```
|
||||
|
||||
Accounts can also be managed via the [Javascript Console](../interface/JavaScript-Console)
|
||||
Accounts can also be managed via the [Javascript Console](../interface/javascript-console)
|
||||
|
||||
## Examples
|
||||
### Interactive use
|
||||
@ -335,7 +335,7 @@ That can then be executed with:
|
||||
|
||||
Since this function will disappear after restarting geth, it can be helpful to store
|
||||
commonly used functions to be recalled later. The
|
||||
[loadScript](../interface/JavaScript-Console#loadscript)
|
||||
[loadScript](../interface/javascript-console#loadscript)
|
||||
function makes this very easy.
|
||||
|
||||
First, save the `checkAllBalances()` function definition to a file on your computer. For
|
||||
|
Reference in New Issue
Block a user