arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
hermez-node/cli/node/cfg.buidler.toml
cli/node/cfg.buidler.tomlRaw
  1[API]
  2Address = "localhost:8086"
  3Explorer = true
  4UpdateMetricsInterval = "10s"
  5UpdateRecommendedFeeInterval = "10s"
  6MaxSQLConnections = 100
  7SQLConnectionTimeout = "2s"
  8
  9[PriceUpdater]
 10Interval = "10s"
 11URLBitfinexV2 = "https://api-pub.bitfinex.com/v2/"
 12URLCoinGeckoV3 = "https://api.coingecko.com/api/v3/"
 13# Available update methods:
 14# - coingeckoV3 (recommended): get price by SC addr using coingecko API
 15# - bitfinexV2: get price by token symbol using bitfinex API
 16# - static (recommended for blacklisting tokens): use the given StaticValue to set the price (if not provided 0 will be used)
 17# - ignore: don't update the price leave it as it is on the DB
 18DefaultUpdateMethod = "coingeckoV3" # Update method used for all the tokens registered on the network, and not listed in [[PriceUpdater.TokensConfig]]
 19[[PriceUpdater.TokensConfig]]
 20UpdateMethod = "bitfinexV2"
 21Symbol = "USDT"
 22Addr = "0xdac17f958d2ee523a2206206994597c13d831ec7"
 23[[PriceUpdater.TokensConfig]]
 24UpdateMethod = "coingeckoV3"
 25Symbol = "ETH"
 26Addr = "0x0000000000000000000000000000000000000000"
 27[[PriceUpdater.TokensConfig]]
 28UpdateMethod = "static"
 29Symbol = "UNI"
 30Addr = "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984"
 31StaticValue = 30.12
 32[[PriceUpdater.TokensConfig]]
 33UpdateMethod = "ignore"
 34Symbol = "SUSHI"
 35Addr = "0x6b3595068778dd592e39a122f4f5a5cf09c90fe2"
 36
 37[Debug]
 38APIAddress = "localhost:12345"
 39MeddlerLogs = true
 40GinDebugMode = true
 41
 42[StateDB]
 43Path = "/tmp/iden3-test/hermez/statedb"
 44Keep = 256
 45
 46[PostgreSQL]
 47PortWrite     = 5432
 48HostWrite     = "localhost"
 49UserWrite     = "hermez"
 50PasswordWrite = "yourpasswordhere"
 51NameWrite     = "hermez"
 52# PortRead     = 5432
 53# HostRead     = "localhost"
 54# UserRead     = "hermez"
 55# PasswordRead = "yourpasswordhere"
 56# NameRead     = "hermez"
 57
 58[Web3]
 59URL = "http://localhost:8545"
 60
 61[Synchronizer]
 62SyncLoopInterval = "1s"
 63StatsRefreshPeriod = "1s"
 64
 65[SmartContracts]
 66Rollup   = "0x8EEaea23686c319133a7cC110b840d1591d9AeE0"
 67Auction  = "0x317113D2593e3efF1FfAE0ba2fF7A61861Df7ae5"
 68WDelayer = "0x5E0816F0f8bC560cB2B9e9C87187BeCac8c2021F"
 69TokenHEZ = "0x5D94e3e7aeC542aB0F9129B9a7BAdeb5B3Ca0f77"
 70TokenHEZName = "Hermez Network Token"
 71
 72[Coordinator]
 73ForgerAddress = "0x05c23b938a85ab26A36E6314a0D02080E9ca6BeD" # Non-Boot Coordinator
 74# ForgerAddressPrivateKey = "0x30f5fddb34cd4166adb2c6003fa6b18f380fd2341376be42cf1c7937004ac7a3"
 75# ForgerAddress = "0xb4124ceb3451635dacedd11767f004d8a28c6ee7" # Boot Coordinator
 76# ForgerAddressPrivateKey = "0xa8a54b2d8197bc0b19bb8a084031be71835580a01e70a45a13babd16c9bc1563"
 77MinimumForgeAddressBalance = "0"
 78ConfirmBlocks = 10
 79L1BatchTimeoutPerc = 0.6
 80StartSlotBlocksDelay = 2
 81ScheduleBatchBlocksAheadCheck = 3
 82SendBatchBlocksMarginCheck = 1
 83ProofServerPollInterval = "1s"
 84ForgeRetryInterval = "500ms"
 85SyncRetryInterval = "1s"
 86ForgeDelay = "10s"
 87ForgeNoTxsDelay = "0s"
 88PurgeByExtDelInterval = "1m"
 89MustForgeAtSlotDeadline = true
 90IgnoreSlotCommitment = false
 91
 92[Coordinator.FeeAccount]
 93Address = "0x56232B1c5B10038125Bc7345664B4AFD745bcF8E"
 94# PrivateKey = "0x3a9270c020e169097808da4b02e8d9100be0f8a38cfad3dcfc0b398076381fdd"
 95BJJ = "0x1b176232f78ba0d388ecc5f4896eca2d3b3d4f272092469f559247297f5c0c13"
 96# BJJPrivateKey = "0xb556862fb60e7cf4c0a8a7f44baf2ab06a4c90ac39decc4eef363b6142d07a34"
 97
 98[Coordinator.L2DB]
 99SafetyPeriod = 10
100MaxTxs       = 512
101MinFeeUSD    = 0.0
102MaxFeeUSD    = 50.0
103TTL          = "24h"
104PurgeBatchDelay = 10
105InvalidateBatchDelay = 20
106PurgeBlockDelay = 10
107InvalidateBlockDelay = 20
108
109[Coordinator.TxSelector]
110Path = "/tmp/iden3-test/hermez/txselector"
111
112[Coordinator.BatchBuilder]
113Path = "/tmp/iden3-test/hermez/batchbuilder"
114
115[[Coordinator.ServerProofs]]
116URL = "http://localhost:3000/api"
117
118[Coordinator.Circuit]
119MaxTx = 512
120NLevels = 32
121
122[Coordinator.EthClient]
123CheckLoopInterval = "500ms"
124Attempts = 4
125AttemptsDelay = "500ms"
126TxResendTimeout = "2m"
127NoReuseNonce = false
128MaxGasPrice = "5000000000"
129GasPriceIncPerc = 10
130
131[Coordinator.EthClient.Keystore]
132Path = "/tmp/iden3-test/hermez/ethkeystore"
133Password = "yourpasswordhere"
134
135[Coordinator.EthClient.ForgeBatchGasCost]
136Fixed = 600000
137L1UserTx = 15000
138L1CoordTx = 8000
139L2Tx = 250
140
141[Coordinator.API]
142Coordinator = true
143
144[Coordinator.Debug]
145BatchPath = "/tmp/iden3-test/hermez/batchesdebug"
146LightScrypt = true
147# RollupVerifierIndex = 0