add hint in README.md to help when trying out the RPC
This commit is contained in:
parent
a2363ebd5b
commit
c867ef0961
14
README.md
14
README.md
@ -102,9 +102,17 @@ in the config file. Tezos never modifies the content of an existing
|
|||||||
JSON/RPC interface
|
JSON/RPC interface
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
The tezos node provides a JSON/RPC interface. It is not active by
|
The tezos node provides a JSON/RPC interface. Note that it is an RPC,
|
||||||
default and it should be explicitely activated with the `rpc-port`
|
and it is JSON based, but it does not follow the "JSON-RPC" protocol.
|
||||||
option. This RPC interface is self-documented and the `tezos-client`
|
It is not active by default and it should be explicitely activated with
|
||||||
|
the `rpc-port` option. Typically, if you are not trying to run a local
|
||||||
|
network and just want to explore the RPC, you should run:
|
||||||
|
|
||||||
|
```
|
||||||
|
./tezos-node -sandbox /path/to/a/custom/data/dir -rpc-port 8732
|
||||||
|
```
|
||||||
|
|
||||||
|
The RPC interface is self-documented and the `tezos-client`
|
||||||
is able to pretty-print the list of available RPCs. For instance, for
|
is able to pretty-print the list of available RPCs. For instance, for
|
||||||
the list of RPC provided by the Shell:
|
the list of RPC provided by the Shell:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user