2

I created the admin card for the business network using below command

composer network start -c PeerAdmin@hlfv1 -n airlines8 -V 0.0.1 -A Admin -S adminpw

logs

Starting business network airlines8 at version 0.0.1

Processing these Network Admins: 
userName: admin

✔ Starting business network definition. This may take a minute...
Successfully created business network card:
Filename: admin@airlines8.card

Command succeeded

To import that I run the below command but got an error

composer card import -f airlines8 -c admin@airlines8

error logs:

Error: Required file not found: connection.json
Command failed
david_k
  • 5,843
  • 2
  • 9
  • 16
Nithin TD
  • 90
  • 6
  • You need a connection.json file, if you check fabric samples and maybe fabcar example, you should find it and adapt it to your network – Riki95 Nov 27 '19 at 15:02

1 Answers1

1

Your command to import the card is not correct, try

composer card import -f admin@airlines8.card

The -f flag defines the name of the card file you want to import.

david_k
  • 5,843
  • 2
  • 9
  • 16