Not able to create a network using @aws-sdk/client-managedblockchain #4360
Unanswered
ashwinimiri
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I'm having a similar issue. Did you ever get this straightened out? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am using @aws-sdk/client-managedblockchain to create a hyperledger network, but i got "InvalidRequestException: Invalid request body"
const params = {
ClientRequestToken : null,
Framework: 'HYPERLEDGER_FABRIC', /* required /
FrameworkVersion: '2.2', / required /
MemberConfiguration: { / required /
FrameworkConfiguration: { / required /
Fabric: {
AdminPassword: 'adminUserName', / required /
AdminUsername: 'Adminpassword' / required /
}
},
Name: 'dummy Network', / required /
Description: 'testing',
KmsKeyArn : null,
LogPublishingConfiguration: null,
Tags : null
},
Name: 'myNetwork', / required /
Tags : null,
VotingPolicy: { / required */
ApprovalThresholdPolicy: {
ProposalDurationInHours: 5,
ThresholdComparator: 'GREATER_THAN' ,
ThresholdPercentage: 50
}
},
Description: 'testing',
FrameworkConfiguration: {
Fabric: {
Edition: 'STARTER'
}
}
};
const createChannel = async ()=>{
try
{
}
createChannel();
Beta Was this translation helpful? Give feedback.
All reactions