Skip to content

Instantly share code, notes, and snippets.

@alexander-morris
Created December 17, 2018 22:29
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 alexander-morris/8493a22160cecb2e062ce642a239c48e to your computer and use it in GitHub Desktop.
Save alexander-morris/8493a22160cecb2e062ce642a239c48e to your computer and use it in GitHub Desktop.
return fabric_client.createUser(
{username: 'user1',
mspid: 'Org1MSP',
cryptoContent: { privateKeyPEM: enrollment.key.toBytes(), signedCertPEM: enrollment.certificate }
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment