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