Ubuntu 20.04 multi-machine fabric 2.4 deploy smart contract

Ubuntu 20.04 Docker configures multi-machine Fabric 2.4 Ubuntu 20.04 configures fabric 2.4 cryptography files and realizes multi-machine deployment Host1 host fabric-cli is installed, the main operation is performed on host1, and the fabric environment of host2, host3, and host4 is switched by changing the environment variable. Directory 1. Enter fabric-cli 2. Set up the go […]

MinecraftFabric Mod development complete process 3 – Recipe and mining level

Table of Contents new formula Workbench Recipe Disorder Synthesis Recipe Ordered Synthesis Recipe Furnace Recipe Digging levels and drops Excavation level Standard grade configuration error-prone analysis Loot and Drops normal block drop ore block drop New recipe Workbench recipe In order to facilitate you to quickly create recipes, you can directly go to this website […]

Fabric8 manages k8s cluster Java API

1. Dependent packages <!– https://mvnrepository.com/artifact/io.fabric8/kubernetes-client –> <dependency> <groupId>io.fabric8</groupId> <artifactId>kubernetes-client</artifactId> <version>5.12.4</version> </dependency> 2. Connect to the kubernetes cluster 2.1. Connect to the kubernetes cluster through admin.conf Connect through the admin.conf file of the kubernetes cluster. The admin.conf file is in the /etc/kubernetes directory of the master node of the kubernets cluster, and then copied to the […]

Hyperledger Fabric using CouchDB and complex smart contract development

Foreword In the last experiment, we have implemented a simple smart contract implementation and client development, but the smart contract in this experiment only has basic addition, deletion, modification and query functions, and its data management functions are far from traditional MySQL. Based on the previous experiments, this article will change Hyperledger Fabric’s default database […]

Ubuntu 20.04 Docker configures multi-machine Fabric 2.4

Ubuntu20.04 uses docker swarm to network four virtual machines into fabric networks of four organizations Directory Basic environment configuration Ubuntu 20.04 change source backup source.list Edit source.list, change source ali Execute the update mirror source operation Install the docker environment docker environment docker-compose environment Allow other users to execute docker-compose commands verify docker change source […]

Fabric2.4 deployment test network

1. Preparation 1.1 Modify the machine IP to become a static IP “`bash vi /etc/sysconfig/network-scripts/ifcfg-ens33 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=static –dhcp IPADDR=192.168.88.152 NETMASK=255.255.255.0 GATEWAY=192.168.88.2 DNS1=192.168.88.2 DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=ens33 DEVICE=ens33 ONBOOT=yes #After modifying the configuration file, you need to restart the network service to make the configuration take effect. The command to […]

Fabric.js implements restore, undo, text, handwriting, rotation, and save

<!DOCTYPE html> <html> <head> <meta charset=”utf-8″> <title>fabric</title> <script src=”//i2.wp.com/picture.52hrttpic.com/cdn/js/fabric.min.js”></script> <script src=”./index.js”></script> <style type=”text/css”> * {<!– –> margin: 0; padding: 0; } ul {<!– –> display: flex; list-style: none; } ul li {<!– –> width: 50px; height: 30px; line-height: 30px; border: 1px solid #000; margin-right: 20px; text-align: center; } </style> </head> <body> <canvas id=”canvas” width=”500″ height=”500″></canvas> […]

Preparation and basic use of Hyperledger Fabric test network

Article directory related installation Launch test network Create channels Packaging chaincode Install the chaincode package defined by chaincode The chaincode definition is submitted to the channel call chaincode close the network problems encountered 1.docker keeps starting 2. Forget about testnets 3. Java version is too high, recommend 1.8 Related installation npm, node, git, docker, docker-compose. […]