Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce new Config for the State #268

Closed
Daniel-K-Ivanov opened this issue Aug 18, 2021 · 1 comment · Fixed by #294
Closed

Introduce new Config for the State #268

Daniel-K-Ivanov opened this issue Aug 18, 2021 · 1 comment · Fixed by #294
Assignees

Comments

@Daniel-K-Ivanov
Copy link
Member

Daniel-K-Ivanov commented Aug 18, 2021

Separate configurations for node and bridge:

# node-config.yml
node:
  database:
    host: 127.0.0.1
    name: hedera_validator
    password:
    port: 5432
    username: validator
  clients:
    evm:
      80001:
        block_confirmations: 5
        node_url: ""
        private_key:
      5:
        block_confirmations: 5
        node_url: ""
        private_key:
    hedera:
      operator:
        account_id:
        private_key:
      network:
    mirror_node:
      api_address: ""
      client_address:
      max_retries: 10
      polling_interval: 5
  log_level: debug
  port: 5200
  recovery:
    start_timestamp:
  validator: true/false
# bridge-config.yml
bridge-config:
  topic_id:
  networks:
    0: # Hedera
      bridge_account:
      payer_account:
      members:
        -
      tokens:
        "HBAR":
          fee_percentage: 10 # 10.000%
          80001: ""
        "0.0.0":
          fee_percentage: 50
          80001: ""
    80001:
      router_contract_address: ""
      tokens:
        "":
          0: ""
          5: ""
    5:
      router_contract_address: ""
      tokens:
@Petyo-Lukanov
Copy link

Required meeting for additional discussion. Estimation afterwards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants