firefly icon indicating copy to clipboard operation
firefly copied to clipboard

firefly mutil blockchain config

Open jaylu163 opened this issue 2 years ago • 1 comments

it is my firefly.core.yaml

plugins:
  blockchain:
    - name: ethereum
      type: ethereum
      ethereum:
        ethconnect:
          url: http://localhost:8080 #
          topic: "0"
   
    - name: fabric
      type: fabric
      fabric:
        fabconnect:
          url: http://localhost:8080
          topic: chain1
          channel: ""
          chaincode: ""
  database:
    - name: sqlite3
      type: sqlite3
      sqlite3:
        url: mydb?_busy_timeout=5000
        migrations:
          auto: true

I konw ,is not right

how I want to do ??

thk

jaylu163 avatar Sep 03 '22 08:09 jaylu163

please give me example with new plugins firefly.core.yaml

jaylu163 avatar Sep 04 '22 02:09 jaylu163

@jaylu163 In order to leverage multiple blockchains, you will need to run multiple blockchain connectors (in this case, you'll need to have both ethconnect and fabconnect running on different ports). You then point your configuration to the respective connectors. You will also need to define separate namespaces as shown here, because you can only have one blockchain connector per namespace.

GitHub Issues are not the best place to debug these sort of things. Please reach out on Discord for more assistance.

awrichar avatar Jan 24 '23 20:01 awrichar