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: src/getting_started/login.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,11 +58,32 @@ Options:
58
58
```
59
59
60
60
A home directory must be supplied — where the node will store its files.
61
-
The `--rpc` flag is an optional `wss://` WebSocket link to an Ethereum RPC, allowing Hyperdrive to send and receive Ethereum transactions — used in the [identity system](../getting_started/hypermap.md#hns-hyperware-name-system) as mentioned [above](#creating-an-alchemy-account).
61
+
The `--rpc` flag is an optional `wss://` WebSocket link to an Ethereum RPC, allowing Hyperdrive to send and receive Ethereum transactions — used in the [identity system](../getting_started/hypermap.md#hns-hyperware-name-system) as mentioned [below](#creating-an-alchemy-account).
62
62
If this is not supplied, the node will use a set of default RPC providers served by other nodes on the network.
63
+
Alternatively, use the `--rpc-config` flag to specify more than one `wss://` provider and/or to include authentication credentials -- see the description below.
63
64
If the `--port` flag is supplied, Hyperdrive will attempt to bind that port for serving HTTP and will exit if that port is already taken.
64
65
If no `--port` flag is supplied, Hyperdrive will bind to `8080` if it is available, or the first port above `8080` if not.
65
66
67
+
<details><summary>OPTIONAL: The --rpc-config File Format</summary>
68
+
69
+
If you wish to designate more than one Ethereum RPC providers, or if your provider requires authentication headers, you can replace the `--rpc <url>` flag with `--rpc-config <rpc_config_file_path>` instead, where `<rpc_config_file_path>` is a file structured as follows:
Your node will attempt to use the Ethereum RPC providers in the order you have listed them. Possible "auth" types are Basic, Bearer, and Raw.
84
+
Additionally, you may view, add, and remove RPC providers from a running node at the terminal prompt using the `get-providers`, `add-rpcurl-provider`, and `remove-provider` commands.
85
+
86
+
</details>
66
87
<details><summary>OPTIONAL: Acquiring an RPC API Key</summary>
0 commit comments