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"
 11URL = "https://api-pub.bitfinex.com/v2/"
 12Type = "bitfinexV2"
 13
 14[Debug]
 15APIAddress = "localhost:12345"
 16MeddlerLogs = true
 17GinDebugMode = true
 18
 19[StateDB]
 20Path = "/tmp/iden3-test/hermez/statedb"
 21Keep = 256
 22
 23[PostgreSQL]
 24PortWrite     = 5432
 25HostWrite     = "localhost"
 26UserWrite     = "hermez"
 27PasswordWrite = "yourpasswordhere"
 28NameWrite     = "hermez"
 29# PortRead     = 5432
 30# HostRead     = "localhost"
 31# UserRead     = "hermez"
 32# PasswordRead = "yourpasswordhere"
 33# NameRead     = "hermez"
 34
 35[Web3]
 36URL = "http://localhost:8545"
 37
 38[Synchronizer]
 39SyncLoopInterval = "1s"
 40StatsRefreshPeriod = "1s"
 41
 42[SmartContracts]
 43Rollup   = "0x8EEaea23686c319133a7cC110b840d1591d9AeE0"
 44Auction  = "0x317113D2593e3efF1FfAE0ba2fF7A61861Df7ae5"
 45WDelayer = "0x5E0816F0f8bC560cB2B9e9C87187BeCac8c2021F"
 46TokenHEZ = "0x5D94e3e7aeC542aB0F9129B9a7BAdeb5B3Ca0f77"
 47TokenHEZName = "Hermez Network Token"
 48
 49[Coordinator]
 50ForgerAddress = "0x05c23b938a85ab26A36E6314a0D02080E9ca6BeD" # Non-Boot Coordinator
 51# ForgerAddressPrivateKey = "0x30f5fddb34cd4166adb2c6003fa6b18f380fd2341376be42cf1c7937004ac7a3"
 52# ForgerAddress = "0xb4124ceb3451635dacedd11767f004d8a28c6ee7" # Boot Coordinator
 53# ForgerAddressPrivateKey = "0xa8a54b2d8197bc0b19bb8a084031be71835580a01e70a45a13babd16c9bc1563"
 54MinimumForgeAddressBalance = "0"
 55ConfirmBlocks = 10
 56L1BatchTimeoutPerc = 0.6
 57StartSlotBlocksDelay = 2
 58ScheduleBatchBlocksAheadCheck = 3
 59SendBatchBlocksMarginCheck = 1
 60ProofServerPollInterval = "1s"
 61ForgeRetryInterval = "500ms"
 62SyncRetryInterval = "1s"
 63ForgeDelay = "10s"
 64ForgeNoTxsDelay = "0s"
 65PurgeByExtDelInterval = "1m"
 66
 67[Coordinator.FeeAccount]
 68Address = "0x56232B1c5B10038125Bc7345664B4AFD745bcF8E"
 69# PrivateKey = "0x3a9270c020e169097808da4b02e8d9100be0f8a38cfad3dcfc0b398076381fdd"
 70BJJ = "0x1b176232f78ba0d388ecc5f4896eca2d3b3d4f272092469f559247297f5c0c13"
 71# BJJPrivateKey = "0xb556862fb60e7cf4c0a8a7f44baf2ab06a4c90ac39decc4eef363b6142d07a34"
 72
 73[Coordinator.L2DB]
 74SafetyPeriod = 10
 75MaxTxs       = 512
 76MinFeeUSD    = 0.0
 77TTL          = "24h"
 78PurgeBatchDelay = 10
 79InvalidateBatchDelay = 20
 80PurgeBlockDelay = 10
 81InvalidateBlockDelay = 20
 82
 83[Coordinator.TxSelector]
 84Path = "/tmp/iden3-test/hermez/txselector"
 85
 86[Coordinator.BatchBuilder]
 87Path = "/tmp/iden3-test/hermez/batchbuilder"
 88
 89[[Coordinator.ServerProofs]]
 90URL = "http://localhost:3000/api"
 91
 92[Coordinator.Circuit]
 93MaxTx = 512
 94NLevels = 32
 95
 96[Coordinator.EthClient]
 97CheckLoopInterval = "500ms"
 98Attempts = 4
 99AttemptsDelay = "500ms"
100TxResendTimeout = "2m"
101NoReuseNonce = false
102MaxGasPrice = "5000000000"
103GasPriceIncPerc = 10
104
105[Coordinator.EthClient.Keystore]
106Path = "/tmp/iden3-test/hermez/ethkeystore"
107Password = "yourpasswordhere"
108
109[Coordinator.EthClient.ForgeBatchGasCost]
110Fixed = 600000
111L1UserTx = 15000
112L1CoordTx = 8000
113L2Tx = 250
114
115[Coordinator.API]
116Coordinator = true
117
118[Coordinator.Debug]
119BatchPath = "/tmp/iden3-test/hermez/batchesdebug"
120LightScrypt = true
121# RollupVerifierIndex = 0