Blockchain
Smart contract practice
1. Start the containers on each machine
Enter the scripts directory in 192.168.73.10 and execute Chmod + x up SH adds execution permission to the file, and then/ up.sh,
Then execute the above two commands on 92.168.73.20/30/40/50 respectively, and the fabric network is started. Next, use cli tool instead of client to in ...
Posted by NewBob on Tue, 24 May 2022 05:40:41 +0300
I. Introduction
The main thing is to first sort out the entry file consensus.go of the consensus module, which reflects the entire design idea of Ethereum consensus design. Do the basic work for the further analysis of the consensus algorithm later.
1.1 Module file structure
First look at the file directory of the consensus module:
.
...
Posted by kts on Fri, 06 May 2022 14:04:43 +0300
The private key is actually a string of random numbers. With the private key, we can use elliptic curve multiplication to generate a public key. Examples of private keys used in this article are:
e9873d79c6d87dc0fb6a5778633389f4453213303da61f20bd67fc233aa33262
This is actually a 32 byte hexadecimal number, which is written in the form of str ...
Posted by noguru on Sun, 01 May 2022 21:10:14 +0300
downloader synchronization of dieke Ethereum source code analysisNeed to match the comment code to see: https://github.com/blockchain...This article is long and can be read down by a man. It is suggested to collect itI hope readers can point out problems, pay attention to them and discuss them together in the reading process.
overview
The code ...
Posted by compbry15 on Sat, 30 Apr 2022 08:37:07 +0300
1. shell script Basics
1.1 introduction to shell script
What is a shell script
A collection of shell commands. You can also add some logical operations (if else for) to put these commands into a file
fileshell commands * nLogic can be addedIt needs to be executed in the terminal of linux
# test.sh
ls
pwd
if [ xxx ]
cd ..
...
Posted by creativeimpact on Fri, 22 Apr 2022 07:35:30 +0300
id:BSN_2021Official account: BSN study societyBackground: when developing or maintaining the smart contract of solid language, the logic in the contract is often changed due to the change of business logic. Therefore, it is necessary to consider modifying or expanding the new business logic without affecting the linked data in the previous smar ...
Posted by desmi on Wed, 20 Apr 2022 09:23:07 +0300
In short, ERC1155 is an upgraded version of ERC721. Based on ERC721, ERC1155 mainly adds or improves the following functions:
Both replaceable tokens (homogeneous tokens) and non replaceable tokens (non homogeneous tokens) are supported;Batch transfer: you can transfer multiple token assets with only one smart contract call;Batch query balance: ...
Posted by mhoard8110 on Mon, 18 Apr 2022 15:52:44 +0300
Solidity Path: Beginner to Intermediate Smart Contracts
Course link: https://cryptozombies.io/zh/lesson/2
Hey, hey... Boy! You're better than I thought. Your solid skills are great.
Now that you have some solid programming experience, we need to improve the difficulty and talk about the technical details of Ethereum development.
This class ...
Posted by Huijari on Sun, 17 Apr 2022 16:38:57 +0300
id:BSN_2021Official account: BSN study societyObjective: To study the cases provided in the 1155 standard with you
Chapter process:
Core document
Core method
SummaryIn eip-1155, we can see a paragraph as shown in the figure below and provide a case. Therefore, we will study the internal implementation details with you today.1, Core document ...
Posted by dlgilbert on Wed, 13 Apr 2022 10:43:52 +0300
scavenger hunt game
cosmos official waste picker hunting game operation and deployment details / key records, as well as document translation
Official address: The Game | Cosmos SDK Tutorials
The translation part of the document comes from: https://blog.csdn.net/lk2684753/article/details/113849468
1. Install starport
starport is the offi ...
Posted by Ange52 on Tue, 12 Apr 2022 10:21:51 +0300