apiVersion: v1
kind: ConfigMap
metadata:
  name: besu-cacti-plugin
  namespace: cacti
data:
  plugin.config.yaml: |
    # Besu-Cacti Plugin Configuration
    
    besu:
      rpc:
        http: http://besu-rpc-service.besu-network.svc.cluster.local:8545
        ws: ws://besu-rpc-service.besu-network.svc.cluster.local:8546
      chainId: 138
      networkName: "DeFi Oracle Meta Mainnet"
    
    cacti:
      apiUrl: http://cactus-api:4000
      nodeId: cactus-node-1
    
    ledger:
      ledgerId: besu-chain-138
      type: besu
      config:
        chainId: 138
        consensus: "ibft2"
    
    contracts:
      deployEnabled: true
      invokeEnabled: true
      queryEnabled: true
    
    events:
      enabled: true
      pollingInterval: 5000
      topics: []

