Skip to content

Commit 6b8b173

Browse files
stage 3 - status challenge
1 parent 788e21c commit 6b8b173

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+3179
-95
lines changed

config.toml

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
# This is a sample TOML configuration file for the Keep client.
2+
3+
[ethereum]
4+
URL = "ws://127.0.0.1:8546"
5+
KeyFile = "/Users/levakhnazarov/ethereum/data/keystore/UTC--2025-12-18T18-53-35.539381000Z--7966c178f466b060aaeb2b91e9149a5fb2ec9c53"
6+
KeyFilePassword = "password"
7+
8+
# Uncomment to override the defaults for transaction status monitoring.
9+
10+
# MiningCheckInterval is the interval in which transaction
11+
# mining status is checked. If the transaction is not mined within this
12+
# time, the gas price is increased and transaction is resubmitted.
13+
#
14+
# MiningCheckInterval = 60 # 60 sec (default value)
15+
16+
# MaxGasFeeCap specifies the maximum gas fee cap the client is
17+
# willing to pay for the transaction to be mined. The offered transaction
18+
# gas cost can not be higher than the max gas fee cap value. If the maximum
19+
# allowed gas fee cap is reached, no further resubmission attempts are
20+
# performed. This property should be set only for Ethereum. In case of
21+
# legacy non-EIP-1559 transactions, this field works in the same way as
22+
# `MaxGasPrice` property.
23+
#
24+
# MaxGasFeeCap = "500 Gwei" # 500 Gwei (default value)
25+
26+
# Uncomment to enable Ethereum node rate limiting. Both properties can be
27+
# used together or separately.
28+
#
29+
# RequestsPerSecondLimit sets the maximum average number of requests
30+
# per second which can be executed against the Ethereum node.
31+
# All types of Ethereum node requests are rate-limited,
32+
# including view function calls.
33+
#
34+
# RequestsPerSecondLimit = 150
35+
36+
# ConcurrencyLimit sets the maximum number of concurrent requests which
37+
# can be executed against the Ethereum node at the same time.
38+
# This limit affects all types of Ethereum node requests,
39+
# including view function calls.
40+
#
41+
# ConcurrencyLimit = 30
42+
43+
# BalanceAlertThreshold defines a minimum value of the operator's account
44+
# balance below which the client will start reporting errors in logs.
45+
# A value can be provided in `wei`, `Gwei` or `ether`, e.g. `7.5 ether`,
46+
# `7500000000 Gwei`.
47+
#
48+
# BalanceAlertThreshold = "0.5 ether" # 0.5 ether (default value)
49+
50+
[bitcoin.electrum]
51+
# URL to the Electrum server in format: `scheme://hostname:port`.
52+
# Should be uncommented only when using a custom Electrum server. Otherwise,
53+
# one of the default embedded servers is selected randomly at startup.
54+
# For local development, a URL is required to pass validation.
55+
# Using a testnet Electrum server URL as a placeholder.
56+
# Replace this with a real Electrum server URL if needed for Bitcoin functionality.
57+
URL = "tcp://148.251.237.196:50001"
58+
59+
# Timeout for a single attempt of Electrum connection establishment.
60+
# ConnectTimeout = "10s"
61+
62+
# Timeout for Electrum connection establishment retries.
63+
# ConnectRetryTimeout = "1m"
64+
65+
# Timeout for a single attempt of Electrum protocol request.
66+
# RequestTimeout = "30s"
67+
68+
# Timeout for Electrum protocol request retries.
69+
# RequestRetryTimeout = "2m"
70+
71+
# Interval for connection keep alive requests.
72+
# KeepAliveInterval = "5m"
73+
74+
[network]
75+
Bootstrap = false
76+
Peers = [
77+
"/ip4/127.0.0.1/tcp/3919/ipfs/16Uiu2HAmFRJtCWfdXhZEZHWb4tUpH1QMMgzH1oiamCfUuK6NgqWX",
78+
]
79+
Port = 3920
80+
81+
# Uncomment to override the node's default addresses announced in the network
82+
# AnnouncedAddresses = ["/dns4/example.com/tcp/3919", "/ip4/80.70.60.50/tcp/3919"]
83+
84+
# Uncomment to enable courtesy message dissemination for topics this node is
85+
# not subscribed to. Messages will be forwarded to peers for the duration
86+
# specified as a value in seconds.
87+
# Message dissemination is disabled by default and should be enabled only
88+
# on selected bootstrap nodes. It is not a good idea to enable dissemination
89+
# on non-bootstrap node as it may clutter communication and eventually lead
90+
# to blacklisting the node. The maximum allowed value is 90 seconds.
91+
#
92+
# DisseminationTime = 90
93+
94+
[storage]
95+
Dir = "/Users/levakhnazarov/threshold/fork2/keep-core/data"
96+
97+
# ClientInfo exposes metrics and diagnostics modules.
98+
#
99+
# Metrics collects and exposes information useful for external monitoring tools usually
100+
# operating on time series data.
101+
# All values exposed by metrics module are quantifiable or countable.
102+
#
103+
# The following metrics are available:
104+
# - connected peers count
105+
# - connected bootstraps count
106+
# - eth client connectivity status
107+
#
108+
# Diagnostics module exposes the following information:
109+
# - list of connected peers along with their network id and ethereum operator address
110+
# - information about the client's network id and ethereum operator address
111+
[clientInfo]
112+
Port = 9601
113+
NetworkMetricsTick = 60
114+
EthereumMetricsTick = 600
115+
116+
# Uncomment to overwrite default values for TBTC config.
117+
#
118+
# [tbtc]
119+
# PreParamsPoolSize = 3000
120+
# PreParamsGenerationTimeout = "2m"
121+
# PreParamsGenerationDelay = "10s"
122+
# PreParamsGenerationConcurrency = 1
123+
# KeyGenerationConcurrency = 1
124+
125+
# Developer options to work with locally deployed contracts
126+
[developer]
127+
TokenStakingAddress = "0x6d19C0b4bd2B49eCa000C2Fd910c2Db9607f34ee"
128+
RandomBeaconAddress = "0x18266866EbBab6cA7f5F2724e22CEF54a98Cda92"
129+
WalletRegistryAddress = "0xbd49D2e3E501918CD08Eb4cCa34984F428c83464"
130+
BridgeAddress = "0xD5c25Cf659a65dD3Eb7856bcadD8539225Cd66dB"
131+
MaintainerProxyAddress = "0xE2C7e629CD089b9163D9Ffe924b3d11AF4d9d261"
132+
WalletProposalValidatorAddress = "0x7Df6bd0a30eeEAbea50aC8014829FFC013Cc9ca0"

docs/LOCAL_DEVELOPMENT_GUIDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,3 +276,4 @@ For issues:
276276
2. Verify all contracts are deployed: `./scripts/check-deployments.sh`
277277
3. Ensure Geth is running and mining
278278
4. Check account balances and gas availability
279+

docs/QUICK_START.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,4 @@ curl -X POST -H "Content-Type: application/json" \
208208
- Check logs for specific error messages
209209

210210
For more details, see `docs/development/local-t-network.adoc`
211+

docs/SETUP_COMPLETE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,4 @@ If you encounter issues:
8383
### 🎉 You're Ready!
8484

8585
Your T network is fully set up and ready to use for local development!
86+

docs/development/local-t-network.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Start Ethereum client locally using the miner account address. The client will:
432432
Multi-line version (easier to read):
433433
```
434434
$ geth --port 3000 --networkid 1101 --identity 'somerandomidentity' \
435-
--ws --ws.addr '127.0.0.1' --ws.port '8546' --ws.origins '*' \
435+
--ws --ws.addr '127.0.0.1' --ws.port '8546' --ws.origins '*' \
436436
--ws.api 'admin, debug, web3, eth, txpool, personal, ethash, miner, net' \
437437
--http --http.port '8545' --http.addr '127.0.0.1' --http.corsdomain '' \
438438
--http.api 'admin, debug, web3, eth, txpool, personal, ethash, miner, net' \

0 commit comments

Comments
 (0)