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"
  6
  7[PriceUpdater]
  8Interval = "10s"
  9URL = "https://api-pub.bitfinex.com/v2/"
 10Type = "bitfinexV2"
 11
 12[Debug]
 13APIAddress = "localhost:12345"
 14
 15[StateDB]
 16Path = "/tmp/iden3-test/hermez/statedb"
 17
 18[PostgreSQL]
 19Port     = 5432
 20Host     = "localhost"
 21User     = "hermez"
 22Password = "yourpasswordhere"
 23Name     = "hermez"
 24
 25[Web3]
 26URL = "http://localhost:8545"
 27
 28[Synchronizer]
 29SyncLoopInterval = "1s"
 30StatsRefreshPeriod = "1s"
 31
 32    [Synchronizer.StartBlockNum]
 33    Rollup = 19
 34    Auction = 17
 35    WDelayer = 15
 36
 37[SmartContracts]
 38Rollup   = "0x8EEaea23686c319133a7cC110b840d1591d9AeE0"
 39Auction  = "0x317113D2593e3efF1FfAE0ba2fF7A61861Df7ae5"
 40WDelayer = "0x5E0816F0f8bC560cB2B9e9C87187BeCac8c2021F"
 41TokenHEZ = "0x5D94e3e7aeC542aB0F9129B9a7BAdeb5B3Ca0f77"
 42TokenHEZName = "Hermez Network Token"
 43
 44    [Synchronizer.InitialVariables.Auction]
 45    DonationAddress = "0x0000000000000000000000000000000000000001"
 46    BootCoordinator = "0xb4124cEB3451635DAcedd11767f004d8a28c6eE7"
 47    BootCoordinatorURL = "https://boot.coordinator.io"
 48    DefaultSlotSetBid = [
 49        "10000000000000000000",
 50        "10000000000000000000",
 51        "10000000000000000000",
 52        "10000000000000000000",
 53        "10000000000000000000",
 54        "10000000000000000000",
 55    ]
 56    DefaultSlotSetBidSlotNum = 0
 57    ClosedAuctionSlots = 2
 58    OpenAuctionSlots = 4320
 59    AllocationRatio = [4000, 4000, 2000]
 60    Outbidding = 1000
 61    SlotDeadline = 20
 62
 63    [Synchronizer.InitialVariables.WDelayer]
 64    # HermezRollupAddress        =
 65    HermezGovernanceAddress    = "0x0000000000000000000000000000000000000001"
 66    EmergencyCouncilAddress    = "0x0000000000000000000000000000000000000001"
 67    WithdrawalDelay            = 60
 68    EmergencyModeStartingTime  = 0
 69    EmergencyMode              = false
 70
 71    [Synchronizer.InitialVariables.Rollup]
 72    FeeAddToken = "10"
 73    ForgeL1L2BatchTimeout = 10
 74    WithdrawalDelay = 1209600 # 60 * 60 * 24 * 7 * 2
 75    SafeMode = false
 76        [[Synchronizer.InitialVariables.Rollup.Buckets]]
 77        CeilUSD             = 0
 78        Withdrawals         = 0
 79        BlockWithdrawalRate = 0
 80        MaxWithdrawals      = 0
 81        [[Synchronizer.InitialVariables.Rollup.Buckets]]
 82        CeilUSD             = 0
 83        Withdrawals         = 0
 84        BlockWithdrawalRate = 0
 85        MaxWithdrawals      = 0
 86        [[Synchronizer.InitialVariables.Rollup.Buckets]]
 87        CeilUSD             = 0
 88        Withdrawals         = 0
 89        BlockWithdrawalRate = 0
 90        MaxWithdrawals      = 0
 91        [[Synchronizer.InitialVariables.Rollup.Buckets]]
 92        CeilUSD             = 0
 93        Withdrawals         = 0
 94        BlockWithdrawalRate = 0
 95        MaxWithdrawals      = 0
 96        [[Synchronizer.InitialVariables.Rollup.Buckets]]
 97        CeilUSD             = 0
 98        Withdrawals         = 0
 99        BlockWithdrawalRate = 0
100        MaxWithdrawals      = 0
101
102
103[Coordinator]
104ForgerAddress = "0x6BB84Cc84D4A34467aD12a2039A312f7029e2071"
105ConfirmBlocks = 10
106L1BatchTimeoutPerc = 0.6
107ProofServerPollInterval = "1s"
108SyncRetryInterval = "1s"
109
110[Coordinator.L2DB]
111SafetyPeriod = 10
112MaxTxs       = 512
113TTL          = "24h"
114PurgeBatchDelay = 10
115InvalidateBatchDelay = 20
116PurgeBlockDelay = 10
117InvalidateBlockDelay = 20
118
119[Coordinator.TxSelector]
120Path = "/tmp/iden3-test/hermez/txselector"
121
122[Coordinator.BatchBuilder]
123Path = "/tmp/iden3-test/hermez/batchbuilder"
124
125[[Coordinator.ServerProofs]]
126URL = "http://localhost:3000"
127
128[Coordinator.EthClient]
129CallGasLimit        = 300000
130DeployGasLimit      = 1000000
131GasPriceDiv         = 100
132ReceiptTimeout      = "60s"
133ReceiptLoopInterval = "500ms"
134
135CheckLoopInterval = "500ms"
136Attempts = 8
137AttemptsDelay = "200ms"
138
139[Coordinator.API]
140Coordinator = true
141
142[Coordinator.Debug]
143BatchPath = "/tmp/iden3-test/hermez/batchesdebug"