config.sample.yaml 3.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. chains:
  2. lightlink_pegasus:
  3. geth_rpc_addr: https://replicator.pegasus.lightlink.io/rpc/v1
  4. contract_addr: 0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a
  5. # Keeper configuration for the chain
  6. reveal_delay_blocks: 0
  7. gas_limit: 500000
  8. # Multiplier for the priority fee estimate, as a percentage (i.e., 100 = no change).
  9. # Defaults to 100 if the field is omitted.
  10. priority_fee_multiplier_pct: 100
  11. escalation_policy:
  12. # Pad the first callback transaction's gas estimate by 25%,
  13. # then multiply each successive callback transaction's gas estimate by 10% until the cap is reached.
  14. # All numbers are expressed as percentages where 100 = no change.
  15. initial_gas_multiplier_pct: 125
  16. gas_multiplier_pct: 110
  17. gas_multiplier_cap_pct: 600
  18. # Multiply successive callback transaction's fees by 10% until the cap is reached.
  19. # All numbers are expressed as percentages where 100 = no change.
  20. # (See also priority_fee_multiplier_pct above to generically adjust the priority fee estimates for the chain --
  21. # adjusting that parameter will influence the fee of the first transaction, in addition to other things)
  22. fee_multiplier_pct: 110
  23. fee_multiplier_cap_pct: 200
  24. min_keeper_balance: 100000000000000000
  25. # Provider configuration
  26. # How much to charge in fees
  27. fee: 1500000000000000
  28. # Set this temporarily to false if you have changed the fees and want to apply a new baseline fee.
  29. sync_fee_only_on_register: true
  30. # Configuration for dynamic fees under high gas prices. The keeper will set
  31. # on-chain fees to make between [min_profit_pct, max_profit_pct] of the max callback
  32. # cost in profit per transaction.
  33. min_profit_pct: 0
  34. target_profit_pct: 20
  35. max_profit_pct: 100
  36. # A list of block delays for processing blocks multiple times. Each number represents
  37. # how many blocks to wait before processing. For example, [5, 10, 20] means process
  38. # blocks after 5 blocks, then again after 10 blocks, and finally after 20 blocks.
  39. block_delays: [5, 10, 20]
  40. # Historical commitments -- delete this block for local development purposes
  41. commitments:
  42. # prettier-ignore
  43. - seed: [219,125,217,197,234,88,208,120,21,181,172,143,239,102,41,233,167,212,237,106,37,255,184,165,238,121,230,155,116,158,173,48]
  44. chain_length: 10000
  45. original_commitment_sequence_number: 104
  46. provider:
  47. uri: http://localhost:8080/
  48. chain_length: 100000
  49. chain_sample_interval: 10
  50. # An ethereum wallet address and private key. Generate with `cast wallet new`
  51. address: 0xADDRESS
  52. private_key:
  53. # For local development, you can hardcode the private key here
  54. value: 0xabcd
  55. # For production, you can store the private key in a file.
  56. # file: provider-key.txt
  57. # A 32 byte random value in hexadecimal
  58. # Generate with `openssl rand -hex 32`
  59. secret:
  60. # For local development, you can hardcode the value here
  61. value: abcd
  62. # For production, you can store the private key in a file.
  63. # file: secret.txt
  64. # Set this to the address of your keeper wallet if you would like the keeper wallet to
  65. # be able to withdraw fees from the contract.
  66. fee_manager: 0xADDRESS
  67. keeper:
  68. # An ethereum wallet address and private key for running the keeper service.
  69. # This does not have to be the same key as the provider's key above.
  70. # Generate with `cast wallet new`.
  71. # The keeper private key can be omitted to run the webservice without the keeper.
  72. private_key:
  73. # For local development, you can hardcode the private key here
  74. value: 0xabcd
  75. # For production, you can store the private key in a file.
  76. # file: keeper-key.txt