The web3 React dapp project gets canceled and completed and all order data from the blockchain through events and stores them in redux.

Okay, above, web3 uses antd to build the basic structure of the order component in the React dapp. We have demonstrated a basic order component. Then let’s continue and start with the environment. ganache terminal run ganache -d MetaMask Log in Then open the project and publish the contract truffle migrate –reset Then run the […]

Secure voting system based on blockchain and threshold password (Python+Django+Node+web3+SQLite3)

Table of contents Summary I Abstract I Chapter 1 Introduction 1 1.1 Research background and significance of the topic 1 1.2 Research status at home and abroad 3 1.3 Contents of this article 8 1.4 Structural arrangement 10 Chapter 2 Related Knowledge and Technology 11 2.1 Blockchain related knowledge 11 2.1.1 Blockchain 11 2.1.2 Ethereum […]

Application of Go language in blockchain development

Introduction Blockchain is a technology field that has attracted much attention in recent years. It not only changes the traditional data exchange and storage methods, but also provides new solutions for various application scenarios. As a simple and efficient programming language, Go language (Golang) is gradually becoming the first choice language for developing blockchain applications. […]

Blockchain development using Golang Web3 library

Introduction Blockchain, as a distributed ledger technology, has achieved tremendous development in recent years. Golang, as an efficient and highly concurrency programming language, is widely used in blockchain development. In Golang, we can use the Web3 library to interact with Ethereum or other blockchain networks. The Web3 library is a library of tools for interacting […]

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 […]

Calling Java SDK in FISCO BCOS blockchain system

New SpringBoot project Use IDEA to create a new SpringBoot project, use Maven to manage dependencies, and select Spring Web as the dependency of SpringBoot. Add FISCO BCOS blockchain system dependency Add the Java SDK dependency of the FISCO BCOS blockchain system in pom.xml <dependency> <groupId>org.fisco-bcos.java-sdk</groupId> <artifactId>fisco-bcos-java-sdk</artifactId> <version>2.9.1</version> </dependency> Copy the blockchain key Create a […]

Generate blockchain using ABAP code

The source code is as follows: * &———————————————- ————————–* * & Report ZBLOCKCHAIN * &————————————————- ———————–* * & * &————————————————- ———————–* REPORT zblockchain. PARAMETERS: diffle TYPE char5 default ‘00000’, noblock TYPE i DEFAULT 2. DATA:blockdata TYPE zcl_abap_blockchain_tool=>tt_block . DATA:blockdataline LIKE LINE OF blockdata, timestamp TYPE timestamp, combineddata TYPE string, prevblockdata LIKE LINE OF blockdata, nonce […]

Computer competition python blockchain implementation – proof of work workload proof consensus algorithm

Article directory 0 Preface 1 Blockchain basics 1.1 Internal structure of Bitcoin 1.2 Implemented blockchain data structure 1.3 Points to note 1.4 The core of blockchain – workload proof algorithm 1.4.1 The Byzantine Generals Problem 1.4.2 Solutions 1.4.3 Code implementation 2 Quickly implement a blockchain 2.1 What is blockchain 2.2 What does a complete fast […]