-
Notifications
You must be signed in to change notification settings - Fork 6
/
suibase.yaml
103 lines (90 loc) · 3.62 KB
/
suibase.yaml
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
97
98
99
100
101
102
103
# network_type: local | remote | switchable
#
# Typically, you will not override this variable. It defines if the
# workdir is starting a local Sui process or communicate with a
# remote network.
#
# "switchable" is for the Mysten Lab ~/.cargo/bin/sui binary
# installation procedure and the user can switch the target
# network "at will". In this case, the network type is unknown
# and some features will not work (notably there is no sui-repo).
#
network_type: local
# Enable auto key generation.
#
# These are the default addresses created to help for test automation. You can
# disable these initial key creation and instead start with an empty wallet (sui.keystore)
# and optionally add your own with 'add_private_keys'. See docs for more details.
auto_key_generation: true
# Enable ANSI color codes on command line response.
terminal_color: true
# For localnet only. When a sui.keystore is created, each address
# is funded with that much Mist per address (divided in 5 coins)
initial_fund_per_address: 150000000000000000
# Control the sui-faucet process.
sui_faucet_enabled: true
sui_faucet_genesis_funding: 150000000000000000
sui_faucet_host_ip: "0.0.0.0"
sui_faucet_port: 9123
sui_faucet_max_request_per_second: 100
sui_faucet_num_coins: 5
sui_faucet_coin_value: 20000000000
sui_faucet_request_buffer_size: 200
sui_faucet_client_timeout_secs: 10
# This control the *default* sui git repo being fetch to latest.
# This is the repo for building the sui client.
#
# These variables are ignored when a 'set-sui-repo' is forcing
# the use of your own repo (e.g. 'localnet set-sui-repo --path ~/my-repo' )
#
default_repo_url: "https://github.com/MystenLabs/sui.git"
default_repo_branch: "testnet"
# Allow to force using a specific tag (e.g. "testnet-1.18.0")
force_tag: ~
# Specify a github_token only if you observe "rate limiting" error
# causing suibase to fail while calling into the Github API.
#
# Github has a rate limit of 60 calls per hour for unauthenticated
# users. This is plenty for most use case, but not enough when doing
# extensive Suibase "update/regen/start" from multiple machines sharing
# the same public IP address (behind a NAT).
#
# With an authentication token, API call rate are allowed in the order
# of thousands per hour.
#
# More Info:
# https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28#rate-limiting
# https://docs.github.com/en/actions/security-guides/automatic-token-authentication
github_token: ~
# Allow using precompiled binaries for default_repo.
#
# When true, the binary is downloaded from default_repo_url (not built
# from the local repo). Suibase still download the corresponding source
# code in the local repo (in case user app dependency on it).
#
# If false, then the binaries are instead built from the local repo.
precompiled_bin: true
# Control cargo option when building sui binaries.
#
# cargo_add_options is appended to the cargo command line for both on-demand (e.g. "localnet build")
# and automated builds (e.g. "localnet update").
#
# Optionally, you can also add more options at the workdir command line (e.g. "localnet build --release --target-cpu i686").
#
# Do not specify "--release" in cargo_add_options. Set cargo_release to true instead.
#
cargo_release: false # Set to true to build release binaries.
cargo_add_options: ~
# Proxy server related configurations. See https://suibase.io/how-to/proxy
proxy_enabled: true
proxy_host_ip: "0.0.0.0"
proxy_port_number: 44340
dtp_enabled: false
dtp_host_ip: "0.0.0.0"
dtp_web_port_number: 44380
dtp_api_port_number: 44398
suibase_api_port_number: 44399
links:
- alias: "localnet"
rpc: "http://0.0.0.0:9000"
ws: "ws://0.0.0.0:9000"