{"id":23113726,"url":"https://github.com/ibm/fablet","last_synced_at":"2025-06-20T17:36:57.993Z","repository":{"id":40289980,"uuid":"236762402","full_name":"IBM/fablet","owner":"IBM","description":"Fablet, a browser-based dashboard and tools set for Hyperledger Fabric blockchain platform.","archived":false,"fork":false,"pushed_at":"2025-05-07T19:31:20.000Z","size":2037,"stargazers_count":33,"open_issues_count":11,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-08T23:02:58.163Z","etag":null,"topics":["fablet","fabric","go"],"latest_commit_sha":null,"homepage":"","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/IBM.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-28T15:02:37.000Z","updated_at":"2025-04-15T02:31:05.000Z","dependencies_parsed_at":"2024-06-19T00:08:04.370Z","dependency_job_id":"f349c3b0-8cee-4499-923b-f33a92af7d45","html_url":"https://github.com/IBM/fablet","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IBM/fablet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM%2Ffablet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM%2Ffablet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM%2Ffablet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM%2Ffablet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IBM","download_url":"https://codeload.github.com/IBM/fablet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IBM%2Ffablet/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260988777,"owners_count":23093557,"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":["fablet","fabric","go"],"created_at":"2024-12-17T03:13:31.241Z","updated_at":"2025-06-20T17:36:52.970Z","avatar_url":"https://github.com/IBM.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fablet\nFablet, a browser-based dashboard and tools set for Hyperledger Fabric blockchain platform.\nIt can help blockchain participants to connect to Fabric network, and perform operations of chaincode, channel, ledger...  \n\n## Overview\n\n### Peers list\n![Peers list](docs/images/peerlist.png)\n\n### Chaincodes list\n![Chaincodes list](docs/images/chaincodelist.png)\n\n### Invoke chaincode\n![Invoke chaincode](docs/images/chaincodeinvoke.png)\n\n### Query ledger\n![Query ledger](docs/images/ledgerquery.png)\n\n# Playground\nAn example Fablet service was set up with a Fabric network, you can try it at:  \nhttps://bctest01.fablet.pub:8081/  \n*Due to the self-sign certificate, please accept the security exception in your browser.*\n\n## Initial connection\n\nIf it is the first time you access the service, you need to create a connection profile and identity, we provide some examples corresponding to an example Fabric network (Fabric 1.4.3 first-network). Please download these accordinginly:  \n\n* Connection Profile  \n  https://bctest01.fablet.pub:8081/test/conn_profile_simple.yaml\n\n* Identity certificate:  \n  https://bctest01.fablet.pub:8081/test/Admin@org1.example.com-cert.pem  \n\n* Identity private key:  \n  https://bctest01.fablet.pub:8081/test/Admin@org1.example.com.key\n\n* MSP ID  \n  The corresponding MSP ID is `Org1MSP`\n\n## Chaincode\n\n### Installation\n*An exmaple chaincode `vsinst` has already been instantiated.*  \n*And you can also install another chaincode instance with below packages.*\n*You can download the example package file and look into it for details.*\n\n* Tar file  \n  https://bctest01.fablet.pub:8081/test/vs_src.tar\n\n* Tar.gz file (same with above but was compressed)  \n  https://bctest01.fablet.pub:8081/test/vs_src.tar.gz\n\n* Chaincode path  \n  The corresponding chaincode path is `fablet/vs`.  \n\n* Chaincode name and version  \n  Please input name and version. Example is `vehiclesharing` and `1.0`.  \n\n* *Another example Node chaincode package for Fablet. (Example02 from first-network)\n  https://bctest01.fablet.pub:8081/test/example02node_src.tar*\n\n### Instantiation \n*This is a lower machine, it might take several minutes...*\n* Policy  \n  ```\n  OR ('Org1MSP.peer','Org2MSP.peer')\n  ```\n\n* Constructor parameters  \n  For `vehiclesharing` example chaincode, please leave it as blank.\n\n### Execution\n* Function name\n  ```\n  createVehicle \n  ```\n\n* Arguments\n  ```\n  v001,brand001\n  ```\n  \n### Query\n* Function name\n  ```\n  findVehicle \n  ```\n\n* Arguments\n  ```\n  v001\n  ```\n  \n*No more document for user now. I think that user should get all points from the UI directly, instead of documentation.*\n\n# Binaries  \n\nFablet executable binary (based on Ubuntu 18.04) was built and can be downloaded from here: https://github.com/IBM/fablet/releases/download/v0.0.1/fablet_0.0.1.tar.gz\n\n## Start\n\nThe build output will be found at ./release/\u003cOS_Arch\u003e/fablet.\n\n* Start Fablet as default with http on port 8080:\n  ```\n  ./release/\u003cOS_Arch\u003e/fablet\n  ```\n\n* Start Fablet with https on customized port 8081, and TCP address:  \n  ```\n  ./release/\u003cOS_Arch\u003e/fablet -addr localhost -port 8081 -cert \u003ctls_cert\u003e -key \u003ctls_private_key\u003e\n  ```\n\nWhen Fablet start, you can access it via browser (We tested it on Chrome and Firefox). For connection profile and identity encryption materials, please see section of 'Playground' for examples.\n\n\n# Build  \n\n*Now, building and development was only validated on Ubuntu 18.04.*\n\n## Prerequisite \n\n* Go ^1.13.4  \n  If there is network issues, please try:  \n  `go env -w GOPROXY=https://goproxy.io,direct`\n\n* Node.js ^12.13.0\n\n* yarn ^1.19.1  \n  `npm install -g yarn`\n\n* Hyperledger Fabric 1.4.3  \n  Currently, Fablet supports Fabric 1.4.3, we are working to adapt to 2.0.0. Please refer to Fabric installation document for details.  \n\n  *You can use Fablet to connect to an existing Fabric blockchain network.*\n\n## Download repository\n\n```\ngit clone https://github.com/IBM/fablet.git\n```\n\n## Build\n\n* Build all\n  ```\n  ./build.sh\n  ```\n\n* Build service (go) project only\n  ```\n  ./build.sh service\n  ```\n\n* Build web (js/react) project only\n  ```\n  ./build web\n  ```\n\n## Start\n\nPlease find above section of 'Start' for details.\n\n# Development\n\nIt is composed of 2 projects: service project and web project. These 2 projects folders can be opened as individual project, by MS Code or other IDE.\n\n## Service project\nUnder folder `./`.  \nIt is developed in Go language, it provides web service, and html/js/image host.\n* Run in development\n  ```\n  go run ./main\n  ```\n* Test  \n  There are some testing programs in this project, before running those, you have to update connection profiles under folder `./test/connprofiles`.  \n  Basically the profiles are suitable for the `fabric-samples/first-network` example Fabric network. Please update the `tlsCACerts` section in the connection profiles with the certificates, an example is `fabric-samples/first-network/crypto-config/peerOrganizations/org1.example.com/tlsca/tlsca.org1.example.com-cert.pem`.  \n\n  If you want to use your self Fabric blockchain network for testing purposes, please update `tlsCACerts` with the certificates accordinginly.  \n\n  These connection profiles can also be used to create connection to the Fabric blockchain network, via the Fablet web UI.  \n\n## Web project\nUnder folder `./web`.  \nIt is developed in Javascript with React.\n\n* Debug environment  \n  Please open `./web/src/common/debugflag.js`, and then change const variable `DEBUG` to `true` in development.\n\n* Dependencies\n  ```\n  yarn install\n  ```\n\n* Run in development\n  ```\n  yarn start\n  ```\n  Then open browser and access the default site: http://localhost:3000.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm%2Ffablet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibm%2Ffablet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibm%2Ffablet/lists"}