Created
December 17, 2018 20:31
-
-
Save alexander-morris/0df60fd3fe7f7e76dc783510198eeb53 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
var channel = fabric_client.newChannel('mychannel'); | |
var peer = fabric_client.newPeer('grpc://localhost:7051'); | |
channel.addPeer(peer); | |
var order = fabric_client.newOrderer('grpc://localhost:7050') | |
channel.addOrderer(order); | |
var member_user = null; | |
var store_path = path.join(__dirname, 'hfc-key-store'); | |
console.log('Store path:'+store_path); | |
var tx_id = null; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment