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"
 66MustForgeAtSlotDeadline = true
 67IgnoreSlotCommitment = false
 68
 69[Coordinator.FeeAccount]
 70Address = "0x56232B1c5B10038125Bc7345664B4AFD745bcF8E"
 71# PrivateKey = "0x3a9270c020e169097808da4b02e8d9100be0f8a38cfad3dcfc0b398076381fdd"
 72BJJ = "0x1b176232f78ba0d388ecc5f4896eca2d3b3d4f272092469f559247297f5c0c13"
 73# BJJPrivateKey = "0xb556862fb60e7cf4c0a8a7f44baf2ab06a4c90ac39decc4eef363b6142d07a34"
 74
 75[Coordinator.L2DB]
 76SafetyPeriod = 10
 77MaxTxs       = 512
 78MinFeeUSD    = 0.0
 79TTL          = "24h"
 80PurgeBatchDelay = 10
 81InvalidateBatchDelay = 20
 82PurgeBlockDelay = 10
 83InvalidateBlockDelay = 20
 84
 85[Coordinator.TxSelector]
 86Path = "/tmp/iden3-test/hermez/txselector"
 87
 88[Coordinator.BatchBuilder]
 89Path = "/tmp/iden3-test/hermez/batchbuilder"
 90
 91[[Coordinator.ServerProofs]]
 92URL = "http://localhost:3000/api"
 93
 94[Coordinator.Circuit]
 95MaxTx = 512
 96NLevels = 32
 97
 98[Coordinator.EthClient]
 99CheckLoopInterval = "500ms"
100Attempts = 4
101AttemptsDelay = "500ms"
102TxResendTimeout = "2m"
103NoReuseNonce = false
104MaxGasPrice = "5000000000"
105GasPriceIncPerc = 10
106
107[Coordinator.EthClient.Keystore]
108Path = "/tmp/iden3-test/hermez/ethkeystore"
109Password = "yourpasswordhere"
110
111[Coordinator.EthClient.ForgeBatchGasCost]
112Fixed = 600000
113L1UserTx = 15000
114L1CoordTx = 8000
115L2Tx = 250
116
117[Coordinator.API]
118Coordinator = true
119
120[Coordinator.Debug]
121BatchPath = "/tmp/iden3-test/hermez/batchesdebug"
122LightScrypt = true
123# RollupVerifierIndex = 0