Created
December 17, 2018 22:29
-
-
Save alexander-morris/8493a22160cecb2e062ce642a239c48e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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