runtime:
  shutdown_timeout_seconds: 15

grpc:
  network: tcp
  address: ":50070"
  enable_reflection: true
  enable_health: true

metrics:
  address: ":9403"

database:
  driver: mongodb
  settings:
    host_env: CHAIN_GATEWAY_MONGO_HOST
    port_env: CHAIN_GATEWAY_MONGO_PORT
    database_env: CHAIN_GATEWAY_MONGO_DATABASE
    user_env: CHAIN_GATEWAY_MONGO_USER
    password_env: CHAIN_GATEWAY_MONGO_PASSWORD
    auth_source_env: CHAIN_GATEWAY_MONGO_AUTH_SOURCE
    replica_set_env: CHAIN_GATEWAY_MONGO_REPLICA_SET

messaging:
  driver: NATS
  settings:
    url_env: NATS_URL
    host_env: NATS_HOST
    port_env: NATS_PORT
    username_env: NATS_USER
    password_env: NATS_PASSWORD
    broker_name: Chain Gateway Service
    max_reconnects: 10
    reconnect_wait: 5

chains:
  - name: arbitrum_one
    rpc_url_env: CHAIN_GATEWAY_ARBITRUM_RPC_URL
    tokens:
      - symbol: USDC
        contract: "0xaf88d065e77c8cc2239327c5edb3a432268e5831"
      - symbol: USDT
        contract: "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9"

service_wallet:
  chain: arbitrum_one
  address_env: CHAIN_GATEWAY_SERVICE_WALLET_ADDRESS
  private_key_env: CHAIN_GATEWAY_SERVICE_WALLET_KEY

key_management:
  driver: vault
  settings:
    address: "https://vault.sendico.io:8200"
    token_env: CHAIN_GATEWAY_VAULT_TOKEN
    namespace: ""
    mount_path: secret
    key_prefix: chain/gateway/wallets
