Getting Error: error validating proposal: access denied: channel [mainchannel] creator org unknown, creator is malformed in fabric-gateway nodejs
While trying to connect to the Peer using fabric-gateway in nodejs i am getting the following error:
Getting EndorseError: 14 UNAVAILABLE: Name resolution failed for target dns:grpcs://localhost:9051 while using fabric-gateway
I am trying to create a gateway using @hyperledger/fabric-gateway
module in Nodejs.
I am able to enroll the admin and the user but after creating the gateway the NetworkImpl and ContractImpl both are blank.
and when trying to run the submitTransaction method it gives out this error: