@paimaexample/npm-avail-light-client 0.3.44 → 0.3.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.yml +22 -26
- package/package.json +1 -1
package/config.yml
CHANGED
|
@@ -1,31 +1,27 @@
|
|
|
1
|
-
#
|
|
2
|
-
# For a full list of options, see the official Avail documentation.
|
|
1
|
+
# Avail Light Client config (no --network needed)
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
http_server_port=7007
|
|
3
|
+
# Logging
|
|
4
|
+
log_level = "info"
|
|
7
5
|
|
|
8
|
-
#
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
# secret_key={ seed: "avail" }
|
|
6
|
+
# API server
|
|
7
|
+
http_server_host = "127.0.0.1"
|
|
8
|
+
http_server_port = 7007
|
|
12
9
|
|
|
13
|
-
#
|
|
14
|
-
port=37000
|
|
15
|
-
|
|
16
|
-
# WebSocket endpoint of a full node.
|
|
10
|
+
# RPC to full node (custom 9955)
|
|
17
11
|
full_node_ws = ["ws://127.0.0.1:9944"]
|
|
18
12
|
|
|
19
|
-
#
|
|
20
|
-
app_id=0
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
#
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
13
|
+
# App / LC behavior
|
|
14
|
+
app_id = 0
|
|
15
|
+
confidence = 92.0
|
|
16
|
+
avail_path = "avail_path"
|
|
17
|
+
network_mode = "both" # both | p2p-only | rpc-only
|
|
18
|
+
|
|
19
|
+
# LibP2P
|
|
20
|
+
port = 37000
|
|
21
|
+
webrtc_port = 37001
|
|
22
|
+
# secret_key = { seed = "avail" } # optional deterministic key
|
|
23
|
+
bootstraps = ["/ip4/127.0.0.1/tcp/39000/p2p/12D3KooWMm1c4pzeLPGkkCJMAgFbsfQ8xmVDusg272icWsaNHWzN"]
|
|
24
|
+
|
|
25
|
+
# Telemetry / network identity (equivalent to local --network defaults)
|
|
26
|
+
ot_collector_endpoint = "http://127.0.0.1:4317"
|
|
27
|
+
genesis_hash = "DEV"
|