{"_id":"ibm-blockchain-js","_rev":"36-e799f4f4fe6062ccc29c048d04b36b9a","name":"ibm-blockchain-js","description":"A library for easily interacting with IBM Blockchain.","dist-tags":{"latest":"1.3.2"},"versions":{"0.0.3":{"name":"ibm-blockchain-js","version":"0.0.3","description":"A set of libraries for easily interacting with IBM's Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["blockchain","obc","open","peer","node","transaction"],"dependencies":{"download":"*","walker":"*"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"1ce89f6dcd1e2f2979ac78e191d8323db75de438","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@0.0.3","_shasum":"0304ed643db81eca573efd6a3a2532f77ee9ecaf","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"benjsmi","email":"benjsmi@us.ibm.com"},"dist":{"shasum":"0304ed643db81eca573efd6a3a2532f77ee9ecaf","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.3.tgz","integrity":"sha512-EERLpvCPRePF6Yeb2t32rokHxX75p/ZPrviP0R/bhD51g6qpLAlS85KPRHYhaLZUHp1s/umehX1Cq3KgZxGcbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEvOk7pYY5ikmcmRaRVU1BaHfZhQLGLg9MhI/sZ0/jIrAiADLgSILTRXFaLcfH+KniPVJsmOTjI6OrZxJY64DNOQYw=="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.3.tgz_1455577436309_0.12948756641708314"}},"0.0.1":{"name":"ibm-blockchain-js","version":"0.0.1","description":"A set of libraries for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["blockchain","obc","open","peer","node","transaction"],"dependencies":{"decompress":"3.0.0","async":"1.5.2"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"0d949678cc08c6847222d3be7b77f7e125f50d6f","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@0.0.1","_shasum":"09a8172e6cd43d21f168d0691e6ae3122b46c916","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"benjsmi","email":"benjsmi@us.ibm.com"},"dist":{"shasum":"09a8172e6cd43d21f168d0691e6ae3122b46c916","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.1.tgz","integrity":"sha512-mGVlRKJJ9gnrilITOBbgQun5k1iiSYDuBIsW/kmohf6GUcfAEVlzLy+r1DM/nub6Fa+tGIseLuKqoMgJTecLIQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmoBg/lVR5+D0R544v7hDWLICa+Xix2twMkOdzUWi0hgIgDz6YjZXdEzeW2lGG1S82mc1iIE93nTWRz/Isc0G6/wc="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.1.tgz_1455578170326_0.18576040002517402"}},"0.0.2":{"name":"ibm-blockchain-js","version":"0.0.2","description":"A set of libraries for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["blockchain","obc","open","peer","node","transaction"],"dependencies":{"decompress":"3.0.0","async":"1.5.2"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"0d949678cc08c6847222d3be7b77f7e125f50d6f","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@0.0.2","_shasum":"2c0c14bab6601ce5665865d1f7614e52357768e2","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"benjsmi","email":"benjsmi@us.ibm.com"},"dist":{"shasum":"2c0c14bab6601ce5665865d1f7614e52357768e2","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.2.tgz","integrity":"sha512-q6hftD459cHVMHNag4L8o2IV7Ha6jhTcFjuwNlscARkMPOYSFYmfoXhb5XK/IWqM3GeoO0HGi1cJXf7nnKLPHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEAg0ZQD2yJBi3zMet4gy+8KUUmqoolssdqPwhDkjhbXAiEA+20ItzUAEQ8PVAgB1d82RlJghwq83xB5Ei6tnpQIeIE="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.2.tgz_1455578219606_0.3602054617367685"}},"0.0.4":{"name":"ibm-blockchain-js","version":"0.0.4","description":"A set of libraries for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["blockchain","obc","open","peer","node","transaction"],"dependencies":{"decompress":"3.0.0","async":"1.5.2"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"0d949678cc08c6847222d3be7b77f7e125f50d6f","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@0.0.4","_shasum":"b38251ca469134fd34b48deb6ffd0a0e6c516fff","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"benjsmi","email":"benjsmi@us.ibm.com"},"dist":{"shasum":"b38251ca469134fd34b48deb6ffd0a0e6c516fff","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.4.tgz","integrity":"sha512-+AYvLMu6jIC0eELq0drY3WvU+aIrU5lOCDFD8KflYDS5hxzyacAbOmJjTH1VIPGhk/3878qvo3DEbdlsnwFy+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjhvZ/dqLztPTXk/F37n/hxG8GuJSOxEPUmUJlYFzrQwIhAJWPdQmt+fwUuAb/iqcGALy/W72696o05oIGbMT/3o42"}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.4.tgz_1455578478052_0.6393983336165547"}},"0.0.5":{"name":"ibm-blockchain-js","version":"0.0.5","description":"A set of libraries for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["blockchain","obc","open","peer","node","transaction"],"dependencies":{"decompress":"3.0.0","async":"1.5.2"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"0d949678cc08c6847222d3be7b77f7e125f50d6f","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@0.0.5","_shasum":"823dc1162776ebebcb87b54ccae400335359eed7","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"823dc1162776ebebcb87b54ccae400335359eed7","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.5.tgz","integrity":"sha512-QMB5RYEdko+gRP49X1BtOo5qTVLk1+vdCx2mnAFt0dShrbNu6yUYXl6DAHRxXbnJJfSo7nT1NONUzYFud3En4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCLWv/DJmmt7gbSALhOF3wiyTHxy7OiJRPVOZTLauUeLwIgS0A9owfoYcJDt08A7QEDA3cmIxTSW/5tQupp5kzMNc4="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.5.tgz_1456210481973_0.030701814219355583"},"directories":{},"_resolved":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.4.tgz"},"0.0.6":{"name":"ibm-blockchain-js","version":"0.0.6","description":"A set of libraries for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["blockchain","obc","open","peer","node","transaction"],"dependencies":{"adm-zip":"^0.4.7","async":"1.5.2","decompress":"3.0.0"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"5b6eed3b99bd55c897511206c8e1294a69109ebb","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.6","_shasum":"07bfde1e77de5fa84a27aad58a9774d478b85571","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"07bfde1e77de5fa84a27aad58a9774d478b85571","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.6.tgz","integrity":"sha512-kmS/wll0TSUb0W9PkErFH0tBy/BWq/ROr+cctdm1D1cTrSItFqHFfjSObOH2w/twu6ROvdUTRPfJHNRHYk0cGw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDlKIMY+o4YkztwmWO/QOZZCAJ6/6fZMBeCmVr23VYOQIgZWj0NEX0bA4IcpymJluIVKb3/werJ3IlcLcTLIU8TaI="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.6.tgz_1456870315431_0.763909051893279"}},"0.0.7":{"name":"ibm-blockchain-js","version":"0.0.7","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0","decompress":"3.0.0"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"45aba582a6d9764041679b4c8f311ee0e5d00277","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.7","_shasum":"73b26f324d6e140b45c4ffabc5110fdd472abaae","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"73b26f324d6e140b45c4ffabc5110fdd472abaae","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.7.tgz","integrity":"sha512-wj1d2OfehpEwiJOsg1fclOGAy+YdIyuK3Wgd7Wvsx/Vgys5LIkWHPctKU2C4hxG5FS2pJ0GU7kvjAxjkMdLHfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCf+nw0v9rgJFx9EsB66qrJbjon9irBq9JV+V1lBaKTcwIgd/Yla/+UmgLn/9JyyZRB4xZjobpUgI8c0caRVKcp/pU="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.7.tgz_1457107952058_0.8344528472516686"}},"0.0.8":{"name":"ibm-blockchain-js","version":"0.0.8","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0","decompress":"3.0.0"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"6072cafc0b5f45634db666b6c683325533684f7f","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.8","_shasum":"e7243f12869f25cdc63c4bf3305d7820e6408311","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"e7243f12869f25cdc63c4bf3305d7820e6408311","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.8.tgz","integrity":"sha512-QwlM6OGJqqxEWaCndBYi86+Y7vkYmxEG1FwVAUmH2mXtVvd9evTyknKXM/tLRgMQqY8lxx2Kv1jvLvIhHG+/sw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDorefAQiZAYdPelVumJsGR5xZAw15er5l8j4LakqLvgwIgYBMXlavTQ7RP21rCDwMnazA6faYrjHLIlHdPjDWyH74="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.8.tgz_1457128048509_0.5534251392818987"}},"0.0.9":{"name":"ibm-blockchain-js","version":"0.0.9","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0","decompress":"3.0.0"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"ea9c7c907a761bfc31e03142a94f006c89118452","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.9","_shasum":"11229f1b24351b284273f58ae0a983cd58661f43","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"11229f1b24351b284273f58ae0a983cd58661f43","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.9.tgz","integrity":"sha512-6P8dZYu77WDsOCeXlcWQLOau5KzdAdh3IMe//4xzIzmrvPCBzWXXRPKGSyiuSI5oakkeyBkPR/k5f2VRMtYDQQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRrjc5TFOJGiUKSKN8st8soa0+7PFHbF+e7ZsgMhT8BAIhANAtdVRB/SHIf7Mf1hy97iN6sRPDZyxnZBLrEfCQ23O6"}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.9.tgz_1457628534333_0.12198440125212073"}},"0.0.10":{"name":"ibm-blockchain-js","version":"0.0.10","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0","decompress":"3.0.0"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"aea3d50b5e0fe816222b1e5ab43712e857db1d25","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.10","_shasum":"86700f61502e0e6a8e882b05ebea2e142060b44a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"86700f61502e0e6a8e882b05ebea2e142060b44a","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.10.tgz","integrity":"sha512-Z0Vw3SIc3w9fEunL3Yb3ev6K6V8MiSnmBvIFZi/QTPE8CAO7uP2Y5s7C4JLVv9X9r4kKDvIyzvh28MQWpK+fVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENQQMv3So3gEX/d/A+g9BD23+vIrq9V3LMHK7GaZBofAiA30DM+jJUV+NTAVnxA92QhQ/i1ewY9YdNodrNSg4+WvA=="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.10.tgz_1458061382394_0.5460340350400656"}},"0.0.11":{"name":"ibm-blockchain-js","version":"0.0.11","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"ea2876e8f66dd96feab557d5b0a93ee8c9c390bc","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.11","_shasum":"d17b53bffa809fdca01191412ecf3d2ca0cfe2ee","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"d17b53bffa809fdca01191412ecf3d2ca0cfe2ee","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.11.tgz","integrity":"sha512-A/7D+Uph5d+CxTmXS8N2GJZtr51XrrAQBpkP7GXHIULyE9RhmoTAGkdkfJiWPujU3ZiR6yChJSUlmPuCP5bCNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBxDUmwR/pkKas/lqmWXAZfY6F4UnwoG63iW7Paj22oKAiEAzyUb3vzRLAv8W7N9JULvyVx4DYVb/9lRYwAsj0x/WXI="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.11.tgz_1459177688235_0.6761077439878136"}},"0.0.12":{"name":"ibm-blockchain-js","version":"0.0.12","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"ea2876e8f66dd96feab557d5b0a93ee8c9c390bc","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.12","_shasum":"6cabb15d69b424e253b2017ea9f9524243d86497","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"6cabb15d69b424e253b2017ea9f9524243d86497","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.12.tgz","integrity":"sha512-yzksQJQnraeAgFc6qas3CKhZxhGEOoCFu0uw6cQaYv7Z3z+Edk3HsCywgqoc0qA/DVne0MMqC27YL1zxjvNiVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSzgsCifHe8er9p+E+XUIgt4reGMOaFnk0Dhhue/p9kwIgMRHxUjWvcKtGpVSVzwRIWf8v4hqtlO8T+IepUpnxdoM="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.12.tgz_1459524601890_0.6326809329912066"},"directories":{},"_resolved":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.11.tgz"},"0.0.13":{"name":"ibm-blockchain-js","version":"0.0.13","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"f1b949a554c915446a8ffa9d1087c907a51c7232","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@0.0.13","_shasum":"5bc53437f9cb580af853b99724a4bfce0da4a07a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"5bc53437f9cb580af853b99724a4bfce0da4a07a","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-0.0.13.tgz","integrity":"sha512-GRlM85EOBc6aJF3tCLfwmgll5p0MieWuazPbxeIeFRpaFYNhNOrQyDYkI9IIWye3XryHLufSL2Vd0MGdLqUHDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDSvQLSKcvzMR2lVt7s99DRHQR/cGT83cbcbcY7FtcDBAiEAysGJ5PebDT25PTXxhRY/WUQe+Ar83v2h5af5H9uFRpM="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-0.0.13.tgz_1459545380579_0.2728802622295916"}},"1.0.0":{"name":"ibm-blockchain-js","version":"1.0.0","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"fd8361afe6b025ef4830c3a69e7fca66dd68b575","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@1.0.0","_shasum":"6f7ff70cf9e44ee367e402e1184f3c9e1deb17ae","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"6f7ff70cf9e44ee367e402e1184f3c9e1deb17ae","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.0.0.tgz","integrity":"sha512-Z/DtI9C1c3Dt4AQoESp5niJOWk7Y1Re/CZsXo7g9FVr1cdatPgnJ17dm1QT25lCh9W/bF46kJBjQSnp41R1KHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFtZVPNRiMFbSTshpE8B+uPPMSV2UvIh3h5YzzyD0QRwAiEA1Ryj8hVrEppwfydBBK6fwv9B/dkRjP1uWdnjCwloBQg="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.0.0.tgz_1459807232202_0.004817484645172954"}},"1.1.0":{"name":"ibm-blockchain-js","version":"1.1.0","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"00dfeee3357825a587c57ed775c1449ba7066a8b","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@1.1.0","_shasum":"d45878d466344f61d0278b162cef68a3f4c71394","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"d45878d466344f61d0278b162cef68a3f4c71394","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.1.0.tgz","integrity":"sha512-vDgotwYaN+sZZyl6gWTWsVyjgk/+m8s7b1ZtOtV78ifbnMRbEHsUg1xuP+uZkvub9KyuxulSCVVeFh80s7Fp6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCEEKeKzoD+CxuSZqPVYVErOcrMi2uhZCQXN9kd8R3BlQIgcMsmz75OfX38/a9Q7ZfLS6Skp07ec20KXFJHKZZ6rWg="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.1.0.tgz_1460662112531_0.7588489102199674"}},"1.1.1":{"name":"ibm-blockchain-js","version":"1.1.1","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"4f150d53eb1cd60172e3c16b8ae2f117a0384d62","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@1.1.1","_shasum":"628c84e8d927843514c8739067ae1c5a286dbefb","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"628c84e8d927843514c8739067ae1c5a286dbefb","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.1.1.tgz","integrity":"sha512-3ySJjxD7UE51yHhmVYrBXwCTBXcpP7w+17oTk5Gas1Lwl2O1Ylt3FyHBSjLO5G6mdGd5hC693PsYEHvSqL00jA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGGoB5hiOjoYW34NxL1r9k+ZLVoIFv0ow1TOPRM3T00HAiEAsQ2Pi8M54mEYlgVfKbRRh2eLWUIRGhOIothPkMXmWHQ="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.1.1.tgz_1460664850806_0.3721016605850309"}},"1.1.2":{"name":"ibm-blockchain-js","version":"1.1.2","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"IPL-1.0","gitHead":"83a1a7e620488077c89a37994dbcd3ee1edd52b6","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js","_id":"ibm-blockchain-js@1.1.2","_shasum":"2664cf327ed9df7d87a4d5d0b0ccefbb7a5b040f","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"2664cf327ed9df7d87a4d5d0b0ccefbb7a5b040f","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.1.2.tgz","integrity":"sha512-oM+PkeJ2/H6WKjC3eWO5RWE8cHQgKx9R60iW/OKCK604mCEPA09Z5myZrHFiMgGO2l98g/5/RULG9FYjOq1bUw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFAfggFGLF3991Ega+OrnA6yoaQr7bK6np8zKwmXFVQfAiA4efYpbnIokvMwmuB+gqgF2pSrhNdhAE4ll02VNNWOqw=="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.1.2.tgz_1461619296005_0.41537719313055277"}},"1.2.0":{"name":"ibm-blockchain-js","version":"1.2.0","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"0050e689b90dec0fa15bc91b91ca912e9d09c6db","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.0","_shasum":"62f0ff159fba70dd7c201693635c9cd8499ffaad","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"62f0ff159fba70dd7c201693635c9cd8499ffaad","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.0.tgz","integrity":"sha512-X9eqd+yjhPw3uFnJkH8uWvWzDwlrvhlcKxC6vmPaDuov1GHzTOBd6E5rLla2EohqBxEK7yRf8dWKISCAVrZ9KQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAeF1H7NrRIExMvCEVnvXk58dIiyDyoJAnm8KrXsEt3FAiEAud4MTgoo/sAs1rQV5yXo0Mc/KO4a2Og9DvvC7Z2ejLU="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.0.tgz_1462558661002_0.5423748064786196"}},"1.2.1":{"name":"ibm-blockchain-js","version":"1.2.1","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"dffecf73982ffc73907490f81c98c71346a4dba2","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.1","_shasum":"38cf4a7874b696c539f5bf1b2945fb2846e7d237","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"38cf4a7874b696c539f5bf1b2945fb2846e7d237","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.1.tgz","integrity":"sha512-tKMlPf1+WB19EcegsloVRXz0RT3XgnFTkrgzZj82PyScyHfjxMz5Dx3TyJ7nIuFsSD1WxlLUPIQt1st3BZquYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWjFn9/qHSuplG5AMU3XPNJwKcKV529phthh84QkM4KAiAr+G1ukJVA7UwKG7KR3tEpGtTPKmy3K+P5wRE/x/M+Ug=="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.1.tgz_1462805880344_0.37087431689724326"}},"1.2.2":{"name":"ibm-blockchain-js","version":"1.2.2","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"aa846fce3032caa1ca12c3f538a38e87572f7aa4","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.2","_shasum":"9d50ebd3cb4af108fc58f257089a40bd88328621","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"9d50ebd3cb4af108fc58f257089a40bd88328621","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.2.tgz","integrity":"sha512-5QxglUffkchkerBKnCDG11dby/5TFrj8Z1ROz5IJsKjCE4D/sRut+7M7oRz8rJ4jbr018Sy28fuod56rzpSndw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYD9qPvpmgZFL3LjtvnO7ZV9eyajiFOTsX0PyOj/WPigIgD3ZpwvlDi9symm7Khkf2YNhMN92hbjBY+B1zXrpOnak="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.2.tgz_1464012022166_0.76135422475636"}},"1.2.3":{"name":"ibm-blockchain-js","version":"1.2.3","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"3ad302d3fa987071f66d74f6eedf815270257a4d","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.3","_shasum":"709a4b5c188193cb0281e049d0d4e5c06a873638","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"709a4b5c188193cb0281e049d0d4e5c06a873638","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.3.tgz","integrity":"sha512-syzeO+XIO6P/+GlHcIb8TQ4yhu/1AmgMXi0cdNnZr82vhzrfChObI0D6dlVfGla4F3TvHEIblFcKplPC2fvTSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGbnU/gwGzui1lFkd0J+CTkudpTEqKMHegFNEZlCda/4AiAKKeRj6s6F4Sdg8l3iUrMV3eoNUJqyP+Rwvjw73+5g3w=="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.3.tgz_1464017780567_0.8475713622756302"}},"1.2.4":{"name":"ibm-blockchain-js","version":"1.2.4","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"81befc56f0d7e072e135b497fc73e5f33054cfb6","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.4","_shasum":"3ba9e59b284e5aa9eb843835db9caeb982e4bdb4","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"3ba9e59b284e5aa9eb843835db9caeb982e4bdb4","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.4.tgz","integrity":"sha512-LVcah/QYB0hsSuRyaJbgZLbPKk84NC+cJ3TXH3I8yAb2MFXymjDEHeKfCFoQNWBIptWnqWimeiEDOhLGh2KL2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQkfb5ds2x4TRYMQ321lJ3iuyhYY0NgW+J0tHellF5EAIgEDBkg6Kec+8RRAu7h6VUjhc/nbYEYM1YrzQ5LcgqSUk="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.4.tgz_1467054940749_0.9512421553954482"}},"1.2.5":{"name":"ibm-blockchain-js","version":"1.2.5","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"74875b413d865fe399575aa57c3c609195c62a87","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.5","_shasum":"8adee99e2383b13ecd18170280c6d5e199caa50a","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"8adee99e2383b13ecd18170280c6d5e199caa50a","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.5.tgz","integrity":"sha512-NbTSj55FS2t3bkcXs4uJTuv3afuFoLpFJxSTDVRQW613fPoq3QCCw5YGOkbmcHZUttzXU2M9pTHV00umLtA1VA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDVo5uCkXEs0/t+7h5HsZe9LLsCUFQbOZA/F+MQi0RngIhAPZ1XvnsXF1tGpINeL37PJLy1SR3S8mtEC57KWpvRjEM"}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.5.tgz_1469116180498_0.7201869005803019"}},"1.2.6":{"name":"ibm-blockchain-js","version":"1.2.6","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"359c65b226c939a61d0a0e2f7bbd39f05caec722","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.6","_shasum":"dc2d1b03bedc4e0c84b15451ec29194baaee287e","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"dc2d1b03bedc4e0c84b15451ec29194baaee287e","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.6.tgz","integrity":"sha512-Q7DAtLhNyWAnfonirwpSQeyQhmgTvI/OEUgCF1YXBLryXDLj6GgUiwi7YQST/5VrSJNWbbyKv6uwQAPW6QGLsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHErhqagOcaLsbjpygo5EcyiD2kXWOKxFh5jd2TL6XtIAiEAiAz7wm1yqi3Q5xme9jcNND1QmcjQg+O2+gNLwNh9E3A="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.6.tgz_1469198307746_0.8363125191535801"}},"1.2.7":{"name":"ibm-blockchain-js","version":"1.2.7","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"589f7b70bd63734cca6f370e18bf7613c7a71039","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.7","_shasum":"d873d91afeac3de9402f95f3b7b1707c5520e371","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"d873d91afeac3de9402f95f3b7b1707c5520e371","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.7.tgz","integrity":"sha512-UmHVetPSeO8Lw+TJSkUKcEsWWOxza0qMPgZVblSd//mcoUziy+9sqjInH+40YYAzRN+yAMWJ+JOL+19yoTdF0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUiraO3N3lDtngMLODbfduThk151WEkvGSa38dthMnzgIgAo3Ah79SBvDS7FmUa3VkNDx3bPuwMdP6a7m8SKk88cc="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.7.tgz_1470410441554_0.8770738830789924"}},"1.2.8":{"name":"ibm-blockchain-js","version":"1.2.8","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"e38d16c9b56515180de8a1c93b8a880d8a010c14","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.2.8","_shasum":"1dc6db4472562c164c06b2c92cd7616e467ba89f","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"1dc6db4472562c164c06b2c92cd7616e467ba89f","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.2.8.tgz","integrity":"sha512-atAlK+ljcoUFL+5gBP8LJ8HfJgG8lwwggb3pYMK72P2mdeTyzTIjXqK0pEqSgYoU8BqsYa4krptK6BJ70TsWdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICRcz51U7eLtvhX569rBivFd36p1WK4S5z1wXUcPSCprAiEAlnIGR5F0i4yv53d5pVmKiNyHT+SwXzJwKqRzO5GknrY="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.2.8.tgz_1470423279337_0.8550916633103043"}},"1.3.0":{"name":"ibm-blockchain-js","version":"1.3.0","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"c5b920f6892116eb1b7f7ce5de81ab306a35d0ad","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.3.0","_shasum":"f7f911af4c6f64bddc27dc2b383cacb264540338","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"f7f911af4c6f64bddc27dc2b383cacb264540338","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.3.0.tgz","integrity":"sha512-bHlOnrtBtVGjMI4l8v22uX+r5tb2uo9hnae8ThcIcyBXhgDTerSjR/1ZcDWHiNuEvWhMEkYzE7P0fMNa64tD2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXf0SpOqyXgip5tylLPvNOAqL9raxXlwA+HAYF0Zl1jgIgVtwPeqWlH7ciCv++F2eKWIFpXSk4gCvM2xSYhK7HeIU="}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.3.0.tgz_1478359678024_0.14148624474182725"}},"1.3.1":{"name":"ibm-blockchain-js","version":"1.3.1","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"3e585304a50c0474a95f97695a54093438e70ec0","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.3.1","_shasum":"5a6696b6f535c5a065773d81ececd877b17adcab","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"5a6696b6f535c5a065773d81ececd877b17adcab","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.3.1.tgz","integrity":"sha512-MEseAIpgMWnSmuYdqIMaX2VvxW3t6KG5UASp0ZddDtP/HRWKkJwOol3tWtp8Fy61LNOcYJ4nT6AY0RkcUtwBNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkiCihUzVgSVrypHGRpaJ3XTEXMTLDraRybMwflLaKqQIhAP7/FQZQhhNyUafMDT/5cMbzqAzSf1zJWLufu9VYX6rP"}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.3.1.tgz_1478555784927_0.622845197096467"}},"1.3.2":{"name":"ibm-blockchain-js","version":"1.3.2","description":"A library for easily interacting with IBM Blockchain.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"dependencies":{"adm-zip":"0.4.4","async":"1.5.0"},"devDependencies":{"tape":"latest"},"author":{"name":"David Huffman and Ben Smith"},"license":"Apache-2.0","gitHead":"215a6d715018b6ae0267365826814d7b39cf5e07","bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","_id":"ibm-blockchain-js@1.3.2","_shasum":"19488439f60d44bccf2231b4baeba172d72c5186","_from":".","_npmVersion":"2.15.1","_nodeVersion":"4.4.3","_npmUser":{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"},"dist":{"shasum":"19488439f60d44bccf2231b4baeba172d72c5186","tarball":"https://registry.npmjs.org/ibm-blockchain-js/-/ibm-blockchain-js-1.3.2.tgz","integrity":"sha512-hVnLcBy5Dt2XIubBgGzVwRQicPNsV0aZXSrB0tCOVRS9oA4jURbHMw+eK3mDeSelXn9fkvB/BJRG4Y6/B4wR9g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtKyUZeByw6BR+jHv4f1+J8Y+B1ca+Ilg1vBbf5mZ/IAIhALfJyLN/b5Ukbh8LaJh+8ymhiIKgRUBPcrhSndvOo7H5"}]},"maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/ibm-blockchain-js-1.3.2.tgz_1479236582716_0.7731905307155102"}}},"readme":"*Are you looking for the Marbles app demo?  That’s not here, head to the [marbles example](https://github.com/IBM-Blockchain/marbles)* \r\n\r\n# ibm-blockchain-js\r\nThis is a Node.js library for REST based interaction with [Hyperledger](https://github.com/hyperledger/fabric) [chaincode](https://github.com/hyperledger/fabric/blob/master/docs/FAQ/chaincode_FAQ.md/). \r\nAll `ibm-blockchain-js` documentation is on this page.\r\n\r\n*7/22 Update! there is a new gRPC based SDK called [HFC](https://github.com/hyperledger/fabric/tree/master/sdk/node). I will continue to maintain this SDK for as long as REST exists.*\r\n\r\nTable Of Contents:\r\n\r\n1. [v1.0.0 Migration!](#migrate)\r\n1. [IBC-js Function Documentation](#ibcjs)\r\n1. [Chaincode Functions](#ccfunc)\r\n1. [Object Formats](#formats)\r\n1. [Chaincode Summary File](#ccsf)\r\n1. [FAQ](#faq)\r\n\r\n***\r\n\r\n## Installation\r\n\r\n```\r\nnpm install ibm-blockchain-js\r\n```\r\n\r\n***\r\n\r\n## Usage Steps!\r\n(example code also provided below)\r\n\r\n1. Require this module\r\n1. Pass network + chaincode parameters to ibc.load(options, my_cb):\r\n1. Receive chaincode object from callback to ibc.load(). ie: my_cb(e, chaincode)\r\n1. You can now deploy your chaincode (if needed) with chaincode.deploy(func, args, null, cb)\r\n1. Use dot notation on chaincode to call any of your chaincode functions ie:\r\n\r\n```js\r\n\t\t// The functions below need to exist in your actual chaincode GoLang file(s) \r\n\t\tchaincode.query.read(['a'], cb);              //will read variable \"a\" from current chaincode state\r\n\t\tchaincode.invoke.write(['a', 'test'], cb);    //will write to variable \"a\"\r\n\t\tchaincode.invoke.remove(['a'], cb);           //will delete variable \"a\"\r\n\t\tchaincode.invoke.init_marbles([ARGS], cb);    //calls my custom chaincode function init_marbles() and passes it ARGS\r\n```\r\n\r\n## Example\r\n\r\n```js\r\n\t// Step 1 ==================================\r\n\tvar Ibc1 = require('ibm-blockchain-js');\r\n\tvar ibc = new Ibc1(/*logger*/);             //you can pass a logger such as winston here - optional\r\n\tvar chaincode = {};\r\n\r\n\t// ==================================\r\n\t// configure ibc-js sdk\r\n\t// ==================================\r\n\tvar options = \t{\r\n\t\tnetwork:{\r\n\t\t\tpeers:   [{\r\n\t\t\t\t\"api_host\": \"xxx.xxx.xxx.xxx\",\r\n\t\t\t\t\"api_port\": xxx,\r\n\t\t\t\t\"api_port_tls\": xxx,\r\n\t\t\t\t\"id\": \"xxxxxx-xxxx-xxx-xxx-xxxxxxxxxxxx_vpx\"\r\n\t\t\t}],\r\n\t\t\tusers:  [{\r\n\t\t\t\t\"enrollId\": \"user1\",\r\n\t\t\t\t\"enrollSecret\": \"xxxxxxxx\"\r\n\t\t\t}],\r\n\t\t\toptions: {\t\t\t\t\t\t\t//this is optional\r\n\t\t\t\tquiet: true, \r\n\t\t\t\ttimeout: 60000\r\n\t\t\t}\r\n\t\t},\r\n\t\tchaincode:{\r\n\t\t\tzip_url: 'https://github.com/ibm-blockchain/marbles-chaincode/archive/master.zip',\r\n\t\t\tunzip_dir: 'marbles-chaincode-master/part2_v1.0.0',\r\n\t\t\tgit_url: 'https://github.com/ibm-blockchain/marbles-chaincode/part2_v1.0.0'\r\n\t\t}\r\n\t};\r\n\t\r\n\t// Step 2 ==================================\r\n\tibc.load(options, cb_ready);\r\n\r\n\t// Step 3 ==================================\r\n\tfunction cb_ready(err, cc){\t\t\t\t\t\t\t\t//response has chaincode functions\r\n\t\tapp1.setup(ibc, cc);\r\n\t\tapp2.setup(ibc, cc);\r\n\t\r\n\t// Step 4 ==================================\r\n\t\tif(cc.details.deployed_name === \"\"){\t\t\t\t//decide if I need to deploy or not\r\n\t\t\tcc.deploy('init', ['99'], null, cb_deployed);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tconsole.log('chaincode summary file indicates chaincode has been previously deployed');\r\n\t\t\tcb_deployed();\r\n\t\t}\r\n\t}\r\n\r\n\t// Step 5 ==================================\r\n\tfunction cb_deployed(err){\r\n\t\tconsole.log('sdk has deployed code and waited');\r\n\t\tchaincode.query.read(['a']);\r\n\t}\r\n```\r\n\t\r\n\t\r\n***\r\n## <a name=\"migrate\"></a>Migrating from v0.0.x to v1.x.x\r\nThe interface to your chaincode functions has changed in v1.0.0 from v0.0.13! \r\nIt is only a minor syntax change that should make it more clear to newcomers. \r\nAll invocation functions can now be found under `chaincode.invoke` and all query functions can be found under `chaincode.query`.\r\n\r\nExamples:\r\n\r\n**query changes** - name change\r\n```js\r\n\t//old code\r\n\tchaincode.read('a');\r\n\t\r\n\t//new code \r\n\tchaincode.query.read(['a']);\r\n```\r\n\r\n**invoke changes** - name change\r\n```js\r\n\t//old code\r\n\tchaincode.init_marble(args);\r\n\tchaincode.remove(args);\r\n\tchaincode.write(name, value);\r\n\t\r\n\t//new code \r\n\tchaincode.invoke.init_marble(args);\r\n\tchaincode.invoke.remove(args);\r\n\tchaincode.invoke.write(args);\r\n```\r\n\r\n**deploy changes** - added options parameter\r\n```js\r\n\t//old code\r\n\tchaincode.deploy('init', ['99'], './cc_summaries', cb_deployed);\r\n\t\r\n\t//new code \r\n\tchaincode.deploy('init', ['99'], {save_path: './cc_summaries', delay_ms: 60000}, cb_deployed);\r\n```\r\n\r\n**register changes** - added new parameter\r\n```js\r\n\t//old code\r\n\tibc.register(i, enrollId, enrollSecret, [callback]);\r\n\t\r\n\t//new code \r\n\tibc.register(i, enrollId, enrollSecret, maxRetry, [callback]);\r\n\r\n```\r\n\r\n***\r\n\r\n## <a name=\"ibcjs\"></a>IBM-Blockchain-JS Documentation\r\n### Usage\r\n\r\nExample with standard console logging:\r\n```js\r\n\tvar Ibc1 = require('ibm-blockchain-js');\r\n\tvar ibc = new Ibc1();\r\n```\r\n\r\nExample with [Winston](https://www.npmjs.com/package/winston) logging:\r\n```js\r\n\tvar winston = require('winston');\r\n\tvar logger = new (winston.Logger)({\r\n\t\ttransports: [\r\n\t\tnew (winston.transports.Console)(),\r\n\t\tnew (winston.transports.File)({ filename: 'somefile.log' })\r\n\t\t]\r\n\t});\r\n\tvar Ibc1 = require('ibm-blockchain-js');\r\n\tvar ibc = new Ibc1(logger);             //you can pass a logger such as winston here - optional\r\n```\r\n\r\n### ibc.load(options, [callback])\r\nThis is a function that wraps a typical startup using a standard Bluemix IBM Blockchain network. \r\nTake a look at how this function works, especially how it uses the register() function. \r\nIf this is not applicable for your network (ie you have a custom IBM Blockchain network) you can easily create your own version of `ibc.load()` for your needs. \r\nIt will run in order:\r\n\r\n1. ibc.network(options.network.peers, options.network.options) *check out other options in [ibc.network()](#ibcnetwork)*\r\n1. ibc.register(...) \r\n\t- It will register the first peer with the first enrollId, the 2nd peer against the 2nd enrollId and so on.\r\n\t- This function only runs if users are found in options.network.users.\r\n\t- Any errors in register will stop execution and run callback(err).\r\n1. ibc.load_chaincode(options.chaincode, [callback]) \r\n1. callback(err, cc) \r\n\r\nOptions: \r\n- **maxRetry** = integer - number of times to retry `ibc.register()` before giving up\r\n- [more] - same options as the function [ibc.network()](#ibcnetwork), click for details \r\n\r\nEx:\r\n\r\n```js\r\n\tvar options = \t{\r\n\t\tnetwork:{\r\n\t\t\tpeers:   [{\r\n\t\t\t\t\"api_host\": \"xxx.xxx.xxx.xxx\",\r\n\t\t\t\t\"api_port\": xxx,\r\n\t\t\t\t\"api_port_tls\": xxx,\r\n\t\t\t\t\"id\": \"xxxxxx-xxxx-xxx-xxx-xxxxxxxxxxxx_vpx\"\r\n\t\t\t}],\r\n\t\t\tusers:  [{\r\n\t\t\t\t\"enrollId\": \"user1\",\r\n\t\t\t\t\"enrollSecret\": \"xxxxxxxx\"\r\n\t\t\t}],\r\n\t\t\toptions: {            //this is optional, gets passed to ibc.network(peers, options);\r\n\t\t\t\tquiet: true, \r\n\t\t\t\ttimeout: 60000,\r\n\t\t\t\ttls: true,\r\n\t\t\t\tmaxRetry: 3\r\n\t\t\t}\r\n\t\t},\r\n\t\tchaincode:{\r\n\t\t\tzip_url: 'https://github.com/ibm-blockchain/marbles-chaincode/archive/master.zip', //http/https of a link to download zip\r\n\t\t\tunzip_dir: 'marbles-chaincode-master/part2_v1.0.0',                                //name/path to folder that contains the chaincode you want to deploy (path relative to unzipped root)\r\n\t\t\tgit_url: 'https://github.com/ibm-blockchain/marbles-chaincode/part2_v1.0.0',       //git https URL. should point to the desired chaincode repo AND directory\r\n\t\t\t\r\n\t\t\tdeployed_name: null    //[optional] this is the hashed name of a deployed chaincode.  if you want to run with chaincode that is already deployed set it now, else it will be set when you deploy with the sdk\r\n\t\t}\r\n\t};\r\n\t\r\n\tibc.load(options, function(err, data){\r\n\t\t//callback here\r\n\t});\r\n```\r\n\r\n### ibc.load_chaincode(options, [callback])\r\nLoad the chaincode you want to use. \r\nIt will be downloaded and parsed. \r\nThe callback will receive (e, obj) where `e` is the error format and `obj` is the chaincode object.\r\n\"e\" is null when there are no errors.\r\nThe chaincode object will have dot notation to the functions in the your chaincode. \r\n\r\nEx:\r\n\r\n```js\r\n\tvar options = \t{\r\n\t\tzip_url: 'https://github.com/ibm-blockchain/marbles-chaincode/archive/master.zip', //http/https of a link to download zip\r\n\t\tunzip_dir: 'marbles-chaincode-master/part2_v1.0.0',                                        //name/path to folder that contains the chaincode you want to deploy (path relative to unzipped root)\r\n\t\tgit_url: 'https://github.com/ibm-blockchain/marbles-chaincode/part2_v1.0.0',             //git https URL. should point to the desired chaincode repo AND directory\r\n\t\t\r\n\t\tdeployed_name: null   //[optional] this is the hashed name of a deployed chaincode.  if you want to run with chaincode that is already deployed set it now, else it will be set when you deploy with the sdk\r\n\t};\r\n\tibc.load_chaincode(options, cb_ready);\r\n```\r\n\r\n### <a name=\"ibcnetwork\"></a>ibc.network(arrayPeers, [options])\r\nSet the information about the peers in the network.\r\nThis should be an array of peer objects. \r\nThe options parameter is optional.\r\nEach field in `options` is also optional.\r\n\r\nOptions: \r\n- **quiet** = boolean - when true will print out only minimal HTTP debug information. Defaults `true`.\r\n- **timeout** = integer - time in ms to wait for a http response. Defaults `60000`.\r\n- **tls** = boolean - when `false` will use HTTP instead of HTTPS. Defaults `true`.\r\n\r\nEx:\r\n\r\n```js\r\n\tvar peers = [\r\n\t\t{\r\n\t\t\t\"api_host\": \"xxx.xxx.xxx.xxx\",               //ip or hostname of api for this peer\r\n\t\t\t\"api_port\": xxx,                             //port for api, non tls (integer)\r\n\t\t\t\"api_port_tls\": xxx,                         //port for api with tls. (integer)\r\n\t\t\t\"id\": \"xxxxxx-xxxx-xxx-xxx-xxxxxxxxxxxx_vpx\" //unique id of peer (string)\r\n\t\t}\r\n\t]\r\n\tibc.network(peers, {quiet: false, timeout: 120000}); //can pass config options\r\n```\r\n\r\nNote **only** the field names you see above  (`api_host`, `api_port`, `api_port_tls`, `id`) are required.\r\nIf you are using a Bluemix network you will see lots of other fields in the credentials JSON blob, but they are not needed. \r\nIts also fine to include the extra fields.\r\nYou can ommit the field `api_port_tls` if your network does not support tls. \r\nMake sure the `options.tls` is `false`.\r\n\r\n### ibc.save(path [callback])\r\nSave the [Chaincode Summary File](#ccsf) to a path.\r\n\r\nEx:\r\n\r\n```js\r\n\tibc.save('./');\r\n```\r\n\r\n### ibc.clear([callback])\r\nClear any loaded chaincode files including the downloaded chaincode repo, and [Chaincode Summary File](#ccsf).\r\n\r\nEx:\r\n\r\n```js\r\n\tibc.clear();\r\n```\r\n\r\n### ibc.chain_stats([callback])\r\nGet statistics on the network's chain.  \r\n\r\nEx:\r\n\r\n```js\r\n\tibc.chain_stats(function(e, stats){\r\n\t\tconsole.log('got some stats', stats);\r\n\t});\r\n```\r\n\r\nExample Chain Stats:\r\n\r\n```js\r\n\t{\r\n\t\t\"height\": 10,\r\n\t\t\"currentBlockHash\": \"n7uMlNMiOSUM8s02cslTRzZQQlVfm8wKT9FtL54o0ywy6BkvPMwSzN5R1tpquvqOwFFHyLSoW44n6rkFyvAsBw==\",\r\n\t\t\"previousBlockHash\": \"OESGPzacJO2Xc+5PB2zpmYVM8XlrwnEky0L2Ghok9oK1Lr/DWoxuBo2WwBca5zzJGq0fOeRQ7aOHgCjMupfL+Q==\"\r\n\t}\r\n```\r\n\r\n### ibc.block_stats(id, [callback])\r\nGet statistics on a particular block in the chain.  \r\n\r\nEx:\r\n\r\n```js\r\n\tibc.block_stats(function(e, stats){\r\n\t\tconsole.log('got some stats', stats);\r\n\t});\r\n```\r\n\r\nExample Response:\r\n\r\n```js\r\n\t{\r\n\t\t\"transactions\": [\r\n\t\t\t{\r\n\t\t\t\t\"type\": 3,\r\n\t\t\t\t\"chaincodeID\": \"EoABNWUzNGJmNWI1MWM1MWZiYzhlMWFmOThkYThhZDg0MGM2OWFjOWM5YTg4ODVlM2U0ZDBlNjNiM2I4MDc0ZWU2NjY2OWFjOTAzNTg4MzE1YTZjOGQ4ODY4M2Y1NjM0MThlMzMwNzQ3ZmVhZmU3ZWYyMGExY2Q1NGZmNzY4NWRhMTk=\",\r\n\t\t\t\t\"payload\": \"CrABCAESgwESgAE1ZTM0YmY1YjUxYzUxZmJjOGUxYWY5OGRhOGFkODQwYzY5YWM5YzlhODg4NWUzZTRkMGU2M2IzYjgwNzRlZTY2NjY5YWM5MDM1ODgzMTVhNmM4ZDg4NjgzZjU2MzQxOGUzMzA3NDdmZWFmZTdlZjIwYTFjZDU0ZmY3Njg1ZGExORomCgtpbml0X21hcmJsZRIHcng2YXRzcBIFZ3JlZW4SAjM1EgNCb2I=\",\r\n\t\t\t\t\"uuid\": \"b3da1d08-19b8-4d8c-a116-b46defb07a7c\",\r\n\t\t\t\t\"timestamp\": {\r\n\t\t\t\t\t\"seconds\": 1453997627,\r\n\t\t\t\t\t\"nanos\": 856894462\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t],\r\n\t\t\"stateHash\": \"81ci8IAOeDh0ZwFM6hE/b3SfXt4tnZFemib7sI95cOsNcYMmtRxBWRBA7qnjPOCGU6snBRsFVnAliZXUigQ03w==\",\r\n\t\t\"previousBlockHash\": \"tpjUh4sgbaUQFO8wm8S8nrm7yCrBa4rphIiujfaYAlEVfzI8IZ0mjYMf+GiOZ6CZRNWPmf+5bekmGIfr0H6zdw==\",\r\n\t\t\"nonHashData\": {\r\n\t\t\t\"localLedgerCommitTimestamp\": {\r\n\t\t\t\"seconds\": 1453997627,\r\n\t\t\t\"nanos\": 868868790\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n```\r\n\r\n### ibc.switchPeer(peerIndex)\r\nThe SDK will default to use peer[0].  This function will switch the default peer to another index.  \r\n\r\nEx:\r\n\r\n```js\r\n\tibc.switchPeer(2);\r\n```\r\n\t\r\n### ibc.register(peerIndex, enrollId, enrollsecret, maxRetry, [callback])\r\nOnly applicable on a network with security enabled. \r\n`register()` will register against peer[peerIndex] with the provided credentials.\r\nIf successful, the peer will now use this `enrollId` to perform any http requests.\r\n- **peerIndex** = integer - position of peer in peers array (the one you fed ibc.networks()) you want to register against.\r\n- **enrollId** = string - name of secure context user.\r\n- **enrollSecret** = string - password/secret/api key of secure context user.\r\n- **maxRetry** = integer - number of times to retry this call before giving up.\r\n\r\nEx:\r\n\r\n```js\r\n\tibc.register(3, 'user1', 'xxxxxx', 3, my_cb);\r\n```\r\n\r\n### ibc.monitor_blockheight(callback)\r\nThis will call your callback function whenever the block height has changed.\r\nie. whenever a new block has been written to the chain.\r\nIt will also pass you the same response as in `chain_stats()`.\r\n\r\nEx:\r\n\r\n```js\r\n\tibc.monitor_blockheight(my_callback);\r\n\tfunction my_callback(e, chainstats){\r\n\t\tconsole.log('got a new block!', chainstats);\r\n\t}\r\n```\r\n\r\n### ibc.get_transaction(udid, [callback])\r\nGet information about a particular transaction ID.\r\n\r\nEx:\r\n\r\n```js\r\n\tibc.get_transaction('d30a1445-185f-4853-b4d6-ee7b4dfa5534', function(err, data){\r\n\t\tconsole.log('found trans', err, data);\r\n\t});\r\n```\r\n\r\n***\r\n***\r\n\r\n##<a name=\"ccfunc\"></a>Chaincode Functions\r\n- Chaincode functions are dependent on actually be found inside your Go chaincode\r\n- My advice is to build your chaincode off of the Marble Application one.  This way you get the basic CRUD functions below:\r\n\r\n### chaincode.deploy(func, args, [options], [enrollId], [callback])\r\nDeploy the chaincode. \r\nCall GoLang function named 'func' and feed it 'args'.\r\nUsually \"args\" is an array of strings.\r\nThe `enrollId` parameter should be the desired secure context enrollId that has already been registered against the selected peer. \r\nIf left `null` the SDK will use a known enrollId for the selected peer. (this is only relevant in a permissioned network)\r\n\r\nOptions: \r\n- **save_path** = save the [Chaincode Summary File](#ccsf) to 'save_path'. \r\n- **delay_ms** = time in milliseconds to postpone the callback after deploy. Default is `40000`\r\n\r\nEx:\r\n\r\n```js\r\n\tchaincode.deploy('init', ['99'], {delay_ms: 60000}, cb_deployed);\r\n```\r\n\r\n### chaincode.query.CUSTOM_FUNCTION_NAME(args, [enrollId], [callback])\r\nWill invoke your Go function CUSTOM_FUNCTION_NAME and pass it `args`. \r\nUsually `args` is an array of strings.\r\nThe `enrollId` parameter should be the desired secure context enrollId that has already been registered against the selected peer. \r\nIf left `null` the SDK will use a known enrollId for the selected peer. (this is only relevant in a permissioned network)\r\n\r\nEx:\r\n\r\n```js\r\n\tchaincode.query.read(['abc'], function(err, data){\r\n\t\tconsole.log('read abc:', data, err);\r\n\t});\r\n```\r\n\r\n### chaincode.invoke.CUSTOM_FUNCTION_NAME(args, [enrollId], [callback])\r\nWill query your Go function CUSTOM_FUNCTION_NAME and pass it `args`. \r\nUsually `args` is an array of strings.\r\nThe `enrollId` parameter should be the desired secure context enrollId that has already been registered against the selected peer. \r\nIf left `null` the SDK will use a known enrollId for the selected peer. (this is only relevant in a permissioned network)\r\n\r\nEx:\r\n\r\n```js\r\n\tchaincode.invoke.init_marbles([args], function(err, data){\r\n\t\tconsole.log('create marble response:', data, err);\r\n\t});\r\n```\r\n\r\n### chaincode.query.read(name, [enrollId], [callback]) *depreciated 4/1/2016*\r\n*This function is only here to help people transition from ibc v0.0.x to v1.x.x.*\r\n*You should create your own read() function in your chaincode which will overwrite this prebuilt one.*\r\n*This function will put the `name` argument into `args[0]` and set `function` to `query`.*\r\n*These are passed to the chaincode function `Query(stub *shim.ChaincodeStub, function string, args []string)`.*\r\n\r\nRead variable named name from chaincode state. \r\nThis will call the `Query()` function in the Go chaincode. \r\nThe `enrollId` parameter should be the desired secure context enrollId that has already been registered against the selected peer. \r\nIf left `null` the SDK will use a known enrollId for the selected peer. (this is only relevant in a permissioned network)\r\n\r\n***\r\n***\r\n\r\n##<a name=\"formats\"></a>Formats\r\n### Chaincode Object\r\nThis is the main guy.\r\nIt is returned in the callback to load_chaincode() and contains all your cc functions + some of the setup/input data.\r\n\r\n```js\r\n\tchaincode = \r\n\t\t{\r\n\t\t\tquery: {\r\n\t\t\t\tCUSTOM_FUNCTION_NAME1: function(args, cb){etc...};\t//call chaincode function and pass it args\r\n\t\t\t\tCUSTOM_FUNCTION_NAME2: function(args, cb){etc...};\r\n\t\t\t\t^^ etc...\r\n\t\t\t}\r\n\t\t\tinvoke: {\r\n\t\t\t\tCUSTOM_FUNCTION_NAME1: function(args, cb){etc...};\t//call chaincode function and pass it args\r\n\t\t\t\tCUSTOM_FUNCTION_NAME2: function(args, cb){etc...};\r\n\t\t\t\t^^ etc...\r\n\t\t\t}\r\n\t\t\tdeploy: function(func, args, path, cb),     //deploy loaded chaincode\r\n\t\t\tdetails:{                                   //input options get stored here, sometimes its handy\r\n\t\t\t\t\t\tdeployed_name: '',              //hash of deployed chaincode\r\n\t\t\t\t\t\tfunc: {\r\n\t\t\t\t\t\t\tinvoke: [],                 //array of function names found\r\n\t\t\t\t\t\t\tquery: []                   //array of function names found\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tgit_url: '',\r\n\t\t\t\t\t\tpeers: [],                      //peer list provided in network()\r\n\t\t\t\t\t\ttimestamp: 0,                   //utc unix timestamp in ms of parsing\r\n\t\t\t\t\t\tusers: [],                      //users provided in load()\r\n\t\t\t\t\t\tunzip_dir: '',\r\n\t\t\t\t\t\tzip_url: '',\r\n\t\t\t}\r\n\t\t};\r\n```\r\n\r\n### Error Format\r\n\r\n```js\r\n\t{\r\n\t\tname: \"input error\",                       //short name of error\r\n\t\tcode: 400,                                 //http error status code, integer\r\n\t\tdetails: {msg: \"did not provide git_url\"}  //description of error, obj of unknown makeup\r\n\t};\r\n```\r\n\t\r\n### <a name=\"ccsf\"></a>Chaincode Summary File\r\nThis file is used internally when debugging. \r\nIt is created in ibc.load_chaincode() and updated with chaincode.deploy(). \r\nA copy can be saved elsewhere with ibc.save(path). \r\nI found it handy in niche cases, but it will probably be unhelpful to most developers. \r\n\r\n```js\r\n\t{\r\n\t\"details\": {\r\n\t\t\"deployed_name\": \"f6c084c42b3bde90c03f214ac6e0426e3e594807901fb1464287f2c3a18ade717bc495298958287594f81bb0d0cfdd3b4346d438d3b587d4fc73cf78ae8f7dfe\",\r\n\t\t\"func\": {\r\n\t\t\t\t\t\"invoke\": [\"init\", \"delete\", \"write\", \"init_marble\", \"set_user\", \"open_trade\", \"perform_trade\"],\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\t\"query\": []\r\n\t\t\t\t},\r\n\t\t\"git_url\": 'https://github.com/ibm-blockchain/marbles-chaincode/part2_v1.0.0'\r\n\t\t\"peers\": [{\r\n\t\t\t\"name\": \"vp1-xxx.xxx.xxx.xxx\",\r\n\t\t\t\"api_host\": \"xxx.xxx.xxx.xxx\",\r\n\t\t\t\"api_port\": xxx,\r\n\t\t\t\"id\": \"xxxxx_vp1\",\r\n\t\t\t\"tls\": false,\r\n\t\t\t\"enrollId\": \"user1\"\r\n\t\t}],\r\n\t\t\"timestamp\": 1459779181971,\r\n\t\t\"users\": [{\r\n\t\t\t\"enrollId\": \"xxx\",\r\n\t\t\t\"enrollSecret\": \"xxx\"\r\n\t\t}],\r\n\t\t\"unzip_dir\": 'marbles-chaincode-master/part2_v1.0.0',\r\n\t\t\"zip_url\": 'https://github.com/ibm-blockchain/marbles-chaincode/archive/master.zip',\r\n\t\t\"options\": {}\r\n\t\t}\r\n\t}\r\n```\r\n\r\n#FAQ\r\n\r\n*Do you have any examples that use this?*\r\n\r\n- Yes! Head over to the [Marbles Node.js Demo](https://github.com/IBM-Blockchain/marbles)\r\n\r\n*How exactly do I write chaincode?*\r\n\r\n- We have a \"hello world\" like tutorial for chaincode over at [Learn Chaincode](https://github.com/IBM-Blockchain/learn-chaincode)\r\n\r\n*I'm getting error code 2 in my deploy response?*\r\n\r\n- Your chaincode has build issues and is not compiling. Manually build it in your local machine to get details.\r\n\r\n*I'm getting error code 1!*\r\n\r\n- The shim version your chaincode import has is not the same as the shim the peer is running. ie you are probably running 'Hyperledger' peer code and sending it chaincode with a shim pointing to \"OBC-Peer\". \r\n\r\n","maintainers":[{"name":"benjsmi","email":"benjsmi@us.ibm.com"},{"name":"dshuffma-ibm","email":"dshuffma@us.ibm.com"}],"time":{"modified":"2022-06-18T23:54:56.386Z","created":"2016-02-15T23:03:58.634Z","0.0.3":"2016-02-15T23:03:58.634Z","0.0.1":"2016-02-15T23:16:12.592Z","0.0.2":"2016-02-15T23:17:03.609Z","0.0.4":"2016-02-15T23:21:22.026Z","0.0.5":"2016-02-23T06:54:45.561Z","0.0.6":"2016-03-01T22:11:57.932Z","0.0.7":"2016-03-04T16:12:35.487Z","0.0.8":"2016-03-04T21:47:29.833Z","0.0.9":"2016-03-10T16:48:56.903Z","0.0.10":"2016-03-15T17:03:05.451Z","0.0.11":"2016-03-28T15:08:09.135Z","0.0.12":"2016-04-01T15:30:04.441Z","0.0.13":"2016-04-01T21:16:22.929Z","1.0.0":"2016-04-04T22:00:34.549Z","1.1.0":"2016-04-14T19:28:35.127Z","1.1.1":"2016-04-14T20:14:13.532Z","1.1.2":"2016-04-25T21:21:38.630Z","1.2.0":"2016-05-06T18:17:42.696Z","1.2.1":"2016-05-09T14:58:01.635Z","1.2.2":"2016-05-23T14:00:23.327Z","1.2.3":"2016-05-23T15:36:22.969Z","1.2.4":"2016-06-27T19:15:41.840Z","1.2.5":"2016-07-21T15:49:42.314Z","1.2.6":"2016-07-22T14:38:29.749Z","1.2.7":"2016-08-05T15:20:43.861Z","1.2.8":"2016-08-05T18:54:41.343Z","1.3.0":"2016-11-05T15:27:59.992Z","1.3.1":"2016-11-07T21:56:26.992Z","1.3.2":"2016-11-15T19:03:03.477Z"},"homepage":"https://github.com/IBM-Blockchain/ibm-blockchain-js#readme","keywords":["ibm","blockchain","obc","peer","node","hyperledger"],"repository":{"type":"git","url":"git+https://github.com/IBM-Blockchain/ibm-blockchain-js.git"},"author":{"name":"David Huffman and Ben Smith"},"bugs":{"url":"https://github.com/IBM-Blockchain/ibm-blockchain-js/issues"},"license":"Apache-2.0","readmeFilename":"README.md","users":{"dshuffma-ibm":true,"aprilchen":true,"techamazed":true,"vishal.waman":true}}