Home | 簡體中文 | 繁體中文 | 雜文 | 知乎專欄 | Github | OSChina 博客 | 雲社區 | 雲棲社區 | Facebook | Linkedin | 視頻教程 | 打賞(Donations) | About
知乎專欄多維度架構 | 微信號 netkiller-ebook | QQ群:128659835 請註明“讀者”

第 27 章 Hyperledger Fabric Client SDK for Node.js

目錄

27.1. package.json
27.2. Node.js 測試程序
27.3. 創建 package.json 檔案
27.4. 查詢操作
27.5. Event
27.6.

27.1. package.json

		
[root@localhost chaincode-docker-devmode]# mkdir token
[root@localhost chaincode-docker-devmode]# cd token/
[root@localhost devel]#		
		
		
			
[root@localhost token]# cat package.json 
{
    "name": "token",
    "version": "1.0.0",
    "description": "Hyperledger Fabric 'token' Sample Application by netkiller<netkiller@msn.com>",
    "main": "token.js",
    "scripts": {
        "test": "echo \"Error: no test specified\" && exit 1"
    },
    "dependencies": {
        "fabric-ca-client": "^1.0.2",
        "fabric-client": "^1.0.2",
        "grpc": "^1.6.0"
    },
    "author": "netkiller <netkiller@msn.com>",
    "license": "Apache-2.0",
    "keywords": [
        "Hyperledger",
        "Fabric",
        "token"
    ]
}
			
		
		
[root@localhost token]# npm install