apiVersion: v1
kind: ConfigMap
metadata:
  name: besu-firefly-plugin
  namespace: firefly
data:
  plugin.config.yaml: |
    # Besu-Firefly 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"
    
    firefly:
      apiUrl: http://firefly-api:5000
      apiKey: ""
      namespace: firefly
    
    contracts:
      erc20:
        address: ""
        abi: []
      erc721:
        address: ""
        abi: []
    
    events:
      enabled: true
      topics:
        - "Transfer(address,address,uint256)"
        - "Approval(address,address,uint256)"
    
    gas:
      gasPrice: 20000000000
      gasLimit: 300000

