-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig_nullchain_no_erc20.hcl
78 lines (66 loc) · 1.85 KB
/
config_nullchain_no_erc20.hcl
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
vega_binary_path = "vega"
network "testnet" {
ethereum {
chain_id = "1440"
network_id = "1441"
endpoint = "ws://127.0.0.1:8545/"
}
secondary_ethereum {
chain_id = "1450"
network_id = "1451"
endpoint = "ws://127.0.0.1:8546/"
}
faucet "faucet-1" {
wallet_pass = "f4uc3tw4ll3t-v3g4-p4ssphr4e3"
template = <<-EOT
[Node]
Port = 3002
IP = "127.0.0.1"
EOT
}
wallet "wallet-1" {
template = <<-EOT
Name = "DV"
[API]
[API.GRPC]
Hosts = [{{range $i, $v := .Validators}}{{if ne $i 0}},{{end}}"127.0.0.1:30{{$i}}2"{{end}}]
EOT
}
pre_start {
docker_service "postgres-1" {
image = "vegaprotocol/timescaledb:2.8.0-pg14"
cmd = "postgres"
args = []
env = {
POSTGRES_USER = "vega"
POSTGRES_PASSWORD = "vega"
POSTGRES_DBS = "vega"
}
static_port {
value = 5332
to = 5432
}
resources {
cpu = 600
memory = 900
}
auth_soft_fail = true
}
}
genesis_template_file = "./node_set_templates/nullchain/genesis_no_erc20.json.tmpl"
node_set "validators" {
count = 1
mode = "validator"
node_wallet_pass = "n0d3w4ll3t-p4ssphr4e3"
vega_wallet_pass = "w4ll3t-p4ssphr4e3"
ethereum_wallet_pass = "ch41nw4ll3t-3th3r3um-p4ssphr4e3"
use_data_node = true
config_templates {
vega_file = "./node_set_templates/nullchain/vega_validator_no_erc20.toml"
tendermint_file = "./node_set_templates/nullchain/tendermint_validator.toml"
data_node_file = "./node_set_templates/nullchain/data_node_external_postgresql.tmpl"
}
}
smart_contracts_addresses_file = "./public_smart_contracts_addresses.json"
secondary_smart_contracts_addresses_file = "./secondary_public_smart_contracts_addresses.json"
}