{"id":13449081,"url":"https://github.com/xuehuiit/fabric-explorer","last_synced_at":"2025-03-22T18:32:39.975Z","repository":{"id":72485265,"uuid":"93700095","full_name":"xuehuiit/fabric-explorer","owner":"xuehuiit","description":"Fabric-explorer is a simple, powerful, maintainable, open source fabric explorer","archived":false,"fork":false,"pushed_at":"2018-09-27T01:17:12.000Z","size":118661,"stargazers_count":123,"open_issues_count":14,"forks_count":58,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-04-10T14:23:35.101Z","etag":null,"topics":["blockchain","fabric","fabric-explorer","hyperledger","javascript","nodejs"],"latest_commit_sha":null,"homepage":"http://www.blockchainbrother.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xuehuiit.png","metadata":{"files":{"readme":"README.cn.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-06-08T02:39:36.000Z","updated_at":"2024-01-05T15:05:36.000Z","dependencies_parsed_at":"2023-02-25T12:30:38.740Z","dependency_job_id":null,"html_url":"https://github.com/xuehuiit/fabric-explorer","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuehuiit%2Ffabric-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuehuiit%2Ffabric-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuehuiit%2Ffabric-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xuehuiit%2Ffabric-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xuehuiit","download_url":"https://codeload.github.com/xuehuiit/fabric-explorer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245003042,"owners_count":20545537,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","fabric","fabric-explorer","hyperledger","javascript","nodejs"],"created_at":"2024-07-31T06:00:30.541Z","updated_at":"2025-03-22T18:32:34.965Z","avatar_url":"https://github.com/xuehuiit.png","language":"JavaScript","funding_links":[],"categories":["Project List"],"sub_categories":[],"readme":"# introduction\n\nfabric explorer 是帮助大家学习、管理、监控fabric 的开源项目。\n\n[English document](https://github.com/hyperledger/blockchain-explorer/blob/master/fabric-explorer/README.md)\n\n\n## Requirements\n\nPlease follow the Pre-requisites from [Hyperledger Fabric](http://hyperledger-fabric.readthedocs.io/en/latest/prereqs.html)\n\nFollowing are the software dependencies required to install and run this fabric-explorer (Please refer to the above link for specific versions)\n* docker-ce 17.06.2-ce\n* docker-compose 1.14.0\n* golang 1.9.x\n* nodejs 6.9.x\n* git\n* mysql 5 or greater\n\n## 执行创建数据库脚本: db/fabricexplorer.sql\n\nRun the database setup scripts located under `db/fabricexplorer.sql`\n\n`mysql -u\u003cusername\u003e -p \u003c db/fabricexplorer.sql`\n\n\n## 设置fabric docker运行环境\n\n1. `git clone https://github.com/onechain/fabric-docker-compose-svt.git`\n2. `mv fabric-docker-compose-svt $GOPATH/src/github.com/hyperledger/fabric/examples/`\n3. `cd $GOPATH/src/github.com/hyperledger/fabric/examples/fabric-docker-compose-svt`\n4. `./download_images.sh`\n5. `./start.sh`\n\n\n## 启动fabric 浏览器\n\n1. `git clone https://github.com/hyperledger/blockchain-explorer.git`\n2. `cd blockchain-explorer`\n\n\n3. 修改 config.json ,配置节点信息\n\n```json\n {\n\n   \"orgs\": [{  //系统中所有的组织\n      \"name\": \"org1\",   //组织名称\n      \"mspid\": \"Org1MSP\", //组织的mspid\n      \"peers\": [   //组织中包含的Peer\n         {\n            \"name\": \"peer1\",\n            \"requests\": \"192.168.23.212:7051\",\n            \"events\": \"192.168.23.212:7053\",\n            \"serverhostname\": \"peer0.org1.robertfabrictest.com\",\n            \"tls_cacerts\": \"/project/opt_fabric/fabricconfig/crypto-config/peerOrganizations/org1.robertfabrictest.com/peers/peer0.org1.robertfabrictest.com/tls/ca.crt\"\n         },\n         {\n            \"name\": \"peer2\",\n            \"requests\": \"172.16.10.186:7051\",\n            \"events\": \"172.16.10.186:7053\",\n            \"serverhostname\": \"peer1.org1.robertfabrictest.com\",\n            \"tls_cacerts\": \"/project/opt_fabric/fabricconfig/crypto-config/peerOrganizations/org1.robertfabrictest.com/peers/peer1.org1.robertfabrictest.com/tls/ca.crt\"\n         },\n         {\n            \"name\": \"peer3\",\n            \"requests\": \"172.16.10.187:7051\",\n            \"events\": \"172.16.10.187:7053\",\n            \"serverhostname\": \"peer2.org1.robertfabrictest.com\",\n            \"tls_cacerts\": \"/project/opt_fabric/fabricconfig/crypto-config/peerOrganizations/org1.robertfabrictest.com/peers/peer2.org1.robertfabrictest.com/tls/ca.crt\"\n         }\n\n      ],\n      \"admin\": {  //组织管理员张的证书和私钥\n         \"key\": \"/project/opt_fabric/fabricconfig/crypto-config/peerOrganizations/org1.robertfabrictest.com/users/Admin@org1.robertfabrictest.com/msp/keystore\",\n         \"cert\": \"/project/opt_fabric/fabricconfig/crypto-config/peerOrganizations/org1.robertfabrictest.com/users/Admin@org1.robertfabrictest.com/msp/signcerts\"\n      }\n   }],\n\n   \"orderer\": [{   //Order节点的信息\n      \"url\": \"192.168.23.212:7050\",\n      \"serverhostname\": \"orderer.robertfabrictest.com\",\n      \"tls_cacerts\": \"/project/opt_fabric/fabricconfig/crypto-config/ordererOrganizations/robertfabrictest.com/orderers/orderer.robertfabrictest.com/tls/ca.crt\"\n   }],\n\n   \"host\": \"localhost\",  //当前服务器的地址\n   \"port\": \"8080\",  //当前服务器的节点\n   \"keyValueStore\": \"/project/ws_nodejs/fabric_sdk_node_studynew/fabric-client-kvs\",  //私钥的存放位置，\n   \"eventWaitTime\": \"30000\",\n   \"enableTls\":false,  //是否启用TLS模式\n   \"loglevel\":\"ERROR\",  //系统日志级别\n   \"mysql\": {   //数据库的相关配置\n      \"host\": \"localhost\",\n      \"port\": \"3306\",\n      \"database\": \"blockchainexplorer\",\n      \"username\": \"root\",\n      \"passwd\": \"123456\"\n   }\n}\n\n```\n\n4. `npm install`\n5. `./start.sh`\n\nLaunch the URL http://localhost:8080 on a browser.\n\n## 系统截图\n\n这是系统的截图\n\n![Fabric Explorer](https://raw.githubusercontent.com/robertfeng1980/gitresource/master/b1.png)\n\n![Fabric Explorer](https://raw.githubusercontent.com/robertfeng1980/gitresource/master/b2.png)\n\n![Fabric Explorer](https://raw.githubusercontent.com/robertfeng1980/gitresource/master/b3.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuehuiit%2Ffabric-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxuehuiit%2Ffabric-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxuehuiit%2Ffabric-explorer/lists"}