config.sample.yaml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. # Configuration for dynamic fees under high gas prices. The keeper will set
  29. # on-chain fees to make between [min_profit_pct, max_profit_pct] of the max callback
  30. # cost in profit per transaction.
  31. min_profit_pct: 0
  32. target_profit_pct: 20
  33. max_profit_pct: 100
  34. # A list of block delays for processing blocks multiple times. Each number represents
  35. # how many blocks to wait before processing. For example, [5, 10, 20] means process
  36. # blocks after 5 blocks, then again after 10 blocks, and finally after 20 blocks.
  37. block_delays: [5, 10, 20]
  38. # Historical commitments -- delete this block for local development purposes
  39. commitments:
  40. # prettier-ignore
  41. - 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]
  42. chain_length: 10000
  43. original_commitment_sequence_number: 104
  44. provider:
  45. uri: http://localhost:8080/
  46. chain_length: 100000
  47. chain_sample_interval: 10
  48. # An ethereum wallet address and private key. Generate with `cast wallet new`
  49. address: 0xADDRESS
  50. private_key:
  51. # For local development, you can hardcode the private key here
  52. value: 0xabcd
  53. # For production, you can store the private key in a file.
  54. # file: provider-key.txt
  55. # A 32 byte random value in hexadecimal
  56. # Generate with `openssl rand -hex 32`
  57. secret:
  58. # For local development, you can hardcode the value here
  59. value: abcd
  60. # For production, you can store the private key in a file.
  61. # file: secret.txt
  62. # Set this to the address of your keeper wallet if you would like the keeper wallet to
  63. # be able to withdraw fees from the contract.
  64. fee_manager: 0xADDRESS
  65. keeper:
  66. # An ethereum wallet address and private key for running the keeper service.
  67. # This does not have to be the same key as the provider's key above.
  68. # Generate with `cast wallet new`.
  69. # The keeper private key can be omitted to run the webservice without the keeper.
  70. private_key:
  71. # For local development, you can hardcode the private key here
  72. value: 0xabcd
  73. # For production, you can store the private key in a file.
  74. # file: keeper-key.txt