Skip to content

Instantly share code, notes, and snippets.

@byron1st
Last active March 30, 2018 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save byron1st/1755f38698338256ff5465ef13c2ed51 to your computer and use it in GitHub Desktop.
Save byron1st/1755f38698338256ff5465ef13c2ed51 to your computer and use it in GitHub Desktop.
crypto-related artifacts creation script
Profiles:
Trust51Genesis:
Capabilities:
<<: *ChannelCapabilities
Orderer:
<<: *OrdererDefaults
Organizations:
- *Operator
Capabilities:
<<: *OrdererCapabilities
Consortiums:
Participants:
Organizations:
- *Company1
ReputationChannel:
Consortium: Participants
Application:
<<: *ApplicationDefaults
Organizations:
- *Company1
Capabilities:
<<: *ApplicationCapabilities
Organizations:
- &Operator
Name: Operator
ID: OperatorMSP
MSPDir: crypto-config/ordererOrganizations/operator.com/msp
- &Company1
Name: Company1MSP
ID: Company1MSP
MSPDir: crypto-config/peerOrganizations/company1.com/msp
AnchorPeers:
- Host: peer0.company1.com
Port: 7051
Orderer: &OrdererDefaults
OrdererType: solo
Addresses:
- orderer.operator.com:7050
BatchTimeout: 2s
BatchSize:
MaxMessageCount: 10
AbsoluteMaxBytes: 99 MB
PreferredMaxBytes: 512 KB
Kafka:
Brokers:
- 127.0.0.1:9092
Organizations:
Application: &ApplicationDefaults
Organizations:
Capabilities:
Global: &ChannelCapabilities
V1_1: true
Orderer: &OrdererCapabilities
V1_1: true
Application: &ApplicationCapabilities
V1_1: true
OrdererOrgs:
- Name: Operator
Domain: operator.com
Specs:
- Hostname: orderer
PeerOrgs:
- Name: Company1
Domain: company1.com
EnableNodeOUs: true # ??
Template:
Count: 1
Users:
Count: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment