Gene family expansion and contraction analysis-CAFE5

CAFE (Computational Analysis of gene Family Evolution) is a software that analyzes gene family size changes in a way that explains phylogenetic history. This analysis is often called a gene family. Gene family expansions and contractions analysis. CAFE uses the birth and death process to simulate gene acquisition and loss in a user-specified phylogenetic tree. […]

Simple encapsulation of websocket order module (contract version)

Simple encapsulation of websocket order module Compared with traditional REST API, WebSocket V4 API shows lower transaction latency. According to monitoring data, WebSocket V4 reduces spot transaction delays by 30% and contract transaction delays by 40%. This significant improvement will make your trading significantly more efficient. The following is a simple module encapsulated using the […]

Hyperledger fabric smart contract writing (2) ledger operations

1. What is Chaincode Chaincode is a program written in Go, Node.js, or Java that implements a prescribed interface. Chaincode runs in a process independent of peers, initializing and managing ledger state through transactions submitted by applications. Chaincode usually handles the business logic after Channel member permission, so it is similar to a “smart contract”. […]

Hyperledger fabric smart contract writing (3) Endorsement strategy

1. Concept of endorsement strategy Nodes use the endorsement strategy to determine whether a transaction is correctly endorsed. When a peer accepts a transaction, it will call the VSCC (Validation System Chaincode) related to the transaction Chaincode as part of the transaction verification process to confirm the validity of the transaction. Therefore, a transaction contains […]

Hyperledger fabric smart contract writing (1)

1. Differences in fabric chain code versions Fabric chaincode is divided into two major versions, version 1.x and version 2.x. The main differences between the two are: ####1. Differences in imported packages The packages imported by 1.x are: “[github.com/hyperledger/fabric/core/chaincode/shim](http://github.com/hyperledger/fabric/core/chaincode/shim)” pb “[github.com/hyperledger/fabric/protos/peer](http://github.com/hyperledger/fabric/protos/peer)” The packages imported by 2.0 are: “[github.com/hyperledger/fabric-contract-api-go/contractapi](http://github.com/hyperledger/fabric-contract-api-go/contractapi)” ####2. Different method structures There is no […]

Blockchain experimental design: XuperChain SDK and contract function use

Experimental purpose Master the basic functions of XuperChian’s SDK Master the use of XuperChain’s contract functions Experimental environment XuperChain provides multi-language versions of the SDK (including JS, Golang, Java, Python) to facilitate users to use various functions of XuperChain in depth. Here we take Python as an example to show the basic API used by […]

Design and implementation of online house rental and electronic contracting system based on SSM

Get the source code at the end Development language: Java Java development tools: JDK1.8 Backend framework: SSM Frontend: Vue Database: MySQL5.7 combined with Navicat management tool Server: Tomcat8.5 Development software: IDEA/Eclipse Is it a Maven project: Yes Table of Contents 1. Project Introduction 2. System functions 3. System project screenshots Implementation of the administrator module […]

Let’s look at the essence: Why do microservices need contract testing?

01. Why do microservices need contract testing First let me introduce the company. We use a microservice architecture, and each department is responsible for the development and maintenance of several microservices. My department maintains the company’s payment service (billing), which relies on several services from other departments. When a user needs to pay for an […]

6.DApp-Using Web3 to realize the interaction between the front end and smart contracts

Title Use Web3 to realize the interaction between the front end and smart contracts. The following is the operation process and code. Prepare the ganache environment Article address: 4. How to connect DApp-MetaMask to local Ganache-CSDN blog Prepare smart contracts Article address: 2.DApp-Writing and running solidity smart contracts-CSDN blog Write index.html file Name Contract Demo […]