All Projects → IBM → fablet

IBM / fablet

Licence: Apache-2.0 license
Fablet, a browser-based dashboard and tools set for Hyperledger Fabric blockchain platform.

Programming Languages

javascript
184084 projects - #8 most used programming language
go
31211 projects - #10 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to fablet

DimensionalThreading
An attempt to optimize the fabric server, by assigning each dimension their own thread.
Stars: ✭ 219 (+630%)
Mutual labels:  fabric
3d-Skin-Layers
Renders the player skin layer in 3d
Stars: ✭ 63 (+110%)
Mutual labels:  fabric
Fabric-Bedrock-Miner
A fabric client mod to mine bedrock!
Stars: ✭ 350 (+1066.67%)
Mutual labels:  fabric
Melani-Modpack
Performance perfected; a fabric modpack aiming for the stars. 🌠
Stars: ✭ 12 (-60%)
Mutual labels:  fabric
fabric-example-mod
An elegant Minecraft mod template for the Fabric mod loader
Stars: ✭ 25 (-16.67%)
Mutual labels:  fabric
NaturesCompass
A Minecraft mod that allows you to search for a biome's location anywhere in the world and view information about it.
Stars: ✭ 42 (+40%)
Mutual labels:  fabric
vue-fabric
🦆拼图vue+fabric:图片的复制粘贴,删除,隐藏,翻转,历史记录,回退撤销,锁定,图片组合打散,剪切,图层管理,图片滤镜,图片导出,案例保存,导出
Stars: ✭ 39 (+30%)
Mutual labels:  fabric
FabricWaystones
A Fabric mod for Minecraft that adds waystones - a new way of transportation, that let you teleport from one discovered waystone to another.
Stars: ✭ 16 (-46.67%)
Mutual labels:  fabric
fabric-loom
Gradle build system plugin used to automate the setup of a minecraft mod development environment.
Stars: ✭ 150 (+400%)
Mutual labels:  fabric
user command web
这是管理需要vpn登陆的linux平台,来管理用户和推送任务
Stars: ✭ 41 (+36.67%)
Mutual labels:  fabric
Industrial-Revolution
An Industrial mod made for Fabric.
Stars: ✭ 153 (+410%)
Mutual labels:  fabric
bdk
Streamlined blockchain deployment kit for Hyperledger Fabric.
Stars: ✭ 43 (+43.33%)
Mutual labels:  fabric
django-boilerplate-3.6.1
Django served by Gunicorn running behind Nginx reverse proxy. Deploy to AWS Elastic Beanstalk with Fabric3!
Stars: ✭ 13 (-56.67%)
Mutual labels:  fabric
identity
A modern morph mod for Fabric.
Stars: ✭ 64 (+113.33%)
Mutual labels:  fabric
taskit
A Task Runner in Bash
Stars: ✭ 35 (+16.67%)
Mutual labels:  fabric
Quadz
An FPV drone simulator for Fabric
Stars: ✭ 16 (-46.67%)
Mutual labels:  fabric
old-animations
Client-side modification for Fabric that allows users to restore animations from older versions.
Stars: ✭ 19 (-36.67%)
Mutual labels:  fabric
Bumblezone-Fabric
Fabric port of The Bumblezone!
Stars: ✭ 29 (-3.33%)
Mutual labels:  fabric
Figura
Primary repo for the Figura Project
Stars: ✭ 217 (+623.33%)
Mutual labels:  fabric
Presence-Footsteps
An overly complicated footstep sound enhancement mod for Minecraft
Stars: ✭ 79 (+163.33%)
Mutual labels:  fabric

Fablet

Fablet, a browser-based dashboard and tools set for Hyperledger Fabric blockchain platform. It can help blockchain participants to connect to Fabric network, and perform operations of chaincode, channel, ledger...

Overview

Peers list

Peers list

Chaincodes list

Chaincodes list

Invoke chaincode

Invoke chaincode

Query ledger

Query ledger

Playground

An example Fablet service was set up with a Fabric network, you can try it at:
https://bctest01.fablet.pub:8081/
Due to the self-sign certificate, please accept the security exception in your browser.

Initial connection

If 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:

Chaincode

Installation

An exmaple chaincode vsinst has already been instantiated.
And you can also install another chaincode instance with below packages. You can download the example package file and look into it for details.

Instantiation

This is a lower machine, it might take several minutes...

  • Policy

    OR ('Org1MSP.peer','Org2MSP.peer')
    
  • Constructor parameters
    For vehiclesharing example chaincode, please leave it as blank.

Execution

  • Function name

    createVehicle 
    
  • Arguments

    v001,brand001
    

Query

  • Function name

    findVehicle 
    
  • Arguments

    v001
    

No more document for user now. I think that user should get all points from the UI directly, instead of documentation.

Binaries

Fablet 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

Start

The build output will be found at ./release/<OS_Arch>/fablet.

  • Start Fablet as default with http on port 8080:

    ./release/<OS_Arch>/fablet
    
  • Start Fablet with https on customized port 8081, and TCP address:

    ./release/<OS_Arch>/fablet -addr localhost -port 8081 -cert <tls_cert> -key <tls_private_key>
    

When 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.

Build

Now, building and development was only validated on Ubuntu 18.04.

Prerequisite

  • Go ^1.13.4
    If there is network issues, please try:
    go env -w GOPROXY=https://goproxy.io,direct

  • Node.js ^12.13.0

  • yarn ^1.19.1
    npm install -g yarn

  • Hyperledger Fabric 1.4.3
    Currently, Fablet supports Fabric 1.4.3, we are working to adapt to 2.0.0. Please refer to Fabric installation document for details.

    You can use Fablet to connect to an existing Fabric blockchain network.

Download repository

git clone https://github.com/IBM/fablet.git

Build

  • Build all

    ./build.sh
    
  • Build service (go) project only

    ./build.sh service
    
  • Build web (js/react) project only

    ./build web
    

Start

Please find above section of 'Start' for details.

Development

It 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.

Service project

Under folder ./.
It is developed in Go language, it provides web service, and html/js/image host.

  • Run in development

    go run ./main
    
  • Test
    There are some testing programs in this project, before running those, you have to update connection profiles under folder ./test/connprofiles.
    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.

    If you want to use your self Fabric blockchain network for testing purposes, please update tlsCACerts with the certificates accordinginly.

    These connection profiles can also be used to create connection to the Fabric blockchain network, via the Fablet web UI.

Web project

Under folder ./web.
It is developed in Javascript with React.

  • Debug environment
    Please open ./web/src/common/debugflag.js, and then change const variable DEBUG to true in development.

  • Dependencies

    yarn install
    
  • Run in development

    yarn start
    

    Then open browser and access the default site: http://localhost:3000.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].