apiVersion: v1
kind: ConfigMap
metadata:
  name: firefly-cacti-integration
  namespace: firefly
data:
  integration.config.yaml: |
    # Firefly-Cacti Integration Configuration
    
    firefly:
      apiUrl: http://firefly-api:5000
      apiKey: ""
      namespace: firefly
    
    cacti:
      apiUrl: http://cactus-api.cacti.svc.cluster.local:4000
      nodeId: cactus-node-1
    
    bridges:
      - name: besu-bridge
        sourceNetwork: besu-chain-138
        targetNetwork: external-chain
        connector: cacti
        enabled: true
    
    crossChain:
      enabled: true
      supportedChains:
        - chainId: 138
          name: "DeFi Oracle Meta Mainnet"
          connector: besu
        - chainId: 1
          name: "Ethereum Mainnet"
          connector: ethereum
        - chainId: 137
          name: "Polygon"
          connector: polygon

