-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconductor-config.toml
96 lines (80 loc) · 1.96 KB
/
conductor-config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# ----------- Agents -----------
[[agents]]
id = "test_agent1"
name = "Agent 1"
public_address = "HcScIK3iACtDb6hch75SwfPJ9xEa8nkwjdxen5OMbhtkgwoaheSqr6RrM796sqi"
keystore_file = "./agent1.keystore"
# ----------- Agents -----------
[[agents]]
id = "test_agent2"
name = "Agent 2"
public_address = "HcScj3nWSkA7BuacmvrI56rRBhd89CqfvvIVPnxBkmbpwbd6WQ6mK9c6M6rrh3z"
keystore_file = "./agent2.keystore"
# ----------- DNA -----------
[[dnas]]
id = "holochain_checkers"
file = "./dna/generic-game-holochain/dist/generic-game.dna.json"
hash = "QmasydEL51rYG8iGoTmEtyBfetQZ5gySyouzWGmyXqewWr"
#----------Instance-------
[[instances]]
id = "holochain-checkers-instance"
dna = "holochain_checkers"
agent = "test_agent1"
[instances.logger]
type = "simple"
file = "app_spec.log"
[instances.storage]
type = "memory"
path = "tmp-storage"
[[instances]]
id = "holochain-checkers-instance-two"
dna = "holochain_checkers"
agent = "test_agent2"
[instances.logger]
type = "simple"
file = "app_spec.log"
[instances.storage]
type = "memory"
path = "tmp-storage"
[[interfaces]]
id = "checkers_websocket_interface1"
admin = true
[interfaces.driver]
type = "websocket"
port = 3001
[[interfaces.instances]]
id = "holochain-checkers-instance"
[[interfaces]]
id = "checkers_websocket_interface2"
admin = true
[interfaces.driver]
type = "websocket"
port = 3002
[[interfaces.instances]]
id = "holochain-checkers-instance-two"
# ----------- UI Agent 1 -----------
[[ui_bundles]]
id = "main1"
root_dir = "./ui-agent1"
hash = "Qm000"
[[ui_interfaces]]
id = "ui-interface1"
bundle = "main1"
port = 8800
dna_interface = "checkers_websocket_interface1"
# ----------- UI Agent2 -----------
[[ui_bundles]]
id = "main2"
root_dir = "./ui-agent2"
hash = "Qm000"
[[ui_interfaces]]
id = "ui-interface2"
bundle = "main2"
port = 9300
dna_interface = "checkers_websocket_interface2"
# ----------- Networking -----------
# [network]
# # n3h_mode = "REAL"
# n3h_persistence_path = "/tmp"
# n3h_log_level = "i"
# bootstrap_nodes = []