In the first article in this series, I introduced the concept of a non-fake token (NFT) and the need for the ERC721 (draft) standard.In this article, we will first introduce the ERC721 standard interface and decompose some requirements. There will also be a brief but important detour on the ERC165 standard. "Todd Quackenbush's display of a toolkit on Unsplash shows tool interfaces and ERC165 standards such as hammers, axes, box cutters, iron and flashlights.
The ERC721 standard states: "Every co
Rua: I will give a lecture tomorrow. I will post 2333 of the content I combed for the first time. Blockchain entry.Features of blockchain
Distributed decentralization
Trust-free system
Tamper-resistant and encryption security
Decentralization
No central nodeBlockchain
Is a non-relational distributed database that can only be searched and inserted without an administrator.
The main function is to store i
Interpreting blockchain, soft fork and hard fork
Recently in the Exchange Group and the forum often hear soft fork and hard fork, at first, this concept is simply considered to be a blockchain software upgrade after the old and new protocol caused by new and old nodes of the new block recognition of a disagreement, soft fork generally does not produce a permanent fork chain, and the hard fork will produce t
I. Code STRUCTURE
block.go: Defining block structures and methods
blockchain.go: Defining blockchain structures and methods
help.go: Encapsulates a common code block to form a help library
main.go: Test code
two. Defining the block structure and method
packageblcimport ( "Time" "StrConv" "bytes" "crypto/sha256")//define chunk TYPENBSP;BLOCKNBSP;STRUCTNBSP;{NBSP;NBSP;NBSP;//1. Block height, which is the block number, Number of blo
Blockchain in the design process, want to highlight the characteristics of distinctive features, natural in the design process of special attention to the way content is particularly important key. Blockchain development team in the design period, what are the professional characteristics of the place to pay attention to, or need everyone to know.
The blockchain
ethereum node software developed with Rust, and the developer is a former ethereum Cto:gavin Dr. Wood. Parity is characterized by speed block and light weight. Parity also provides a web interface for you to access on the 8080 port of this machine. To be honest, the installation process is a bit painful, but once it's installed, it's a lot more useful than geth.
4, Metamask
If you're developing an Ethereum app that you really want to use, you have to think about supporting Metamask. This tiny c
contracts-smart contract. For this reason, Ethereum is known as the Blockchain 2.0, to differentiate it from the Blockchain 1.0, which is the core feature of the digital crypto currency represented by Bitcoin. Smart contracts can be understood as contractual agreements between machines, and automatically execute agreed logic when certain conditions are met, such as in the insurance claims process, where th
China blockchain technology and application development White paper (2016)
China blockchain technology and Industry Development Forum set up and the first developer conference held on October 18, the conference issued the "China Blockchain technology and application development white paper."
The white paper summarizes the current situation and trends of
The cam blockchain is an open source project that was recently seen on GitHub because it is. NET-written, familiar, and easy to understand the operation principle of the blockchain by looking at the source code. Here are the download links on GitHub:
Total Items: Https://github.com/camchain
Contains the various sub-projects developed by the project, Cam-server and Cam-wallet need to reference the cam and
Solidity characteristics
1, the exception can not capture2, the function return value can be multiple3, including address and other special types4, the return value declaration can be placed on the function declaration5, run the function will consume gas, gas shortage will cause the intelligent contract can not run6, can be in Go-ethereum, solidity online compiler, mist wallet interface to run the smart co
In the process of compiling and installing solidity, I met a strange problem.Webthree-umbrella/libethereum/libethereum/executive.CPP: in memberfunction 'void Dev::eth::standardtrace::operator () (uint64_t, uint64_t, Dev::eth::instruction, Dev::bigint, Dev::bigint, Dev::bigint, dev::eth::vm*, const dev::eth::extvmface*)':/home/vagrant/code/workspace/webthree-umbrella/libethereum/libethereum/executive.CPP: 81:8: error:unused Variable'returned'[-werror=u
Series The first article is mainly from the point of view of commodity circulation, through the analysis of the consumer in the current supply chain problems encountered, gradually extending the current supply chain in the upstream and downstream of the system can not solve the problem of information systems, to find pain points, and then combined with the blockchain technology characteristics to give a solution. This article is the second article in
It 's written in front .
Solidity is an intelligent contract programming language for Ethernet, you should have a better understanding of Ethernet and intelligent contracts before reading this article,If you don't understand it, I suggest you look at the etheric square first.
The first half of this article is a reference to the official document of solidity (current latest version: 0.4.20) for translation,
Solidity Tutorial Series 4th-Solidity data location analysis. It 's written in front .
Solidity is an intelligent contract programming language for Ethernet, you should have a better understanding of Ethernet and intelligent contracts before reading this article,If you don't understand it, I suggest you look at the etheric square first.
This part of the content o
Here we emphasize the protocol layering of the blockchain? Application Layer? contract Layer? Incentive mechanism? Consensus layer? Network layer? data layerOn a main implementation of the Blockchain data layer, the main use of data layer technology is to check the data, to seek hash.Here is a description of the workload proof POW, which is part of the consensus mechanism.The POW mechanism performs the allo
In a blockchain network, all of the data is recorded as chunks on each node. Each chunk is saved in a separate file on the local disk of the node, and all the chunk information in the Bitcoin (Linux system) is stored under the ~/.bitcoin/blocks/directory and marked with the Blk***.dat file name, as shown in the following image:
Block Structure
As described by Https://en.bitcoin.it/wiki/Block, the structure of the block is as follows:
Field
before and after the Spring Festival, the blockchain once again blew our circle of friends : Three o'clock the continued force of the group, Venezuela's oil currency issued, "in the Cong" suddenly appeared, the price of the encryption currency fluctuations ...
Now the streets are talking about blockchain, and our blockchain technology salon has been in this atmos
string : You need to use double quotes "" or single quotation marks, for example: Define a String variable: string Name= "Jake";
String string cannot be obtained by length method
Hex Data : A string preceded by the keyword hex followed by a single or double quotation mark. such as Hex "001122FF". Here's an example to understand what this means:
Contract hexliteral{
function test () returns (string) {
var a = hex "001122FF";
var B = hex "A";
Expected primary expression
(Visibility and accessors). For details, see the contents of the function in the following type.
functions modifier (function Modifiers)function modifiers are used to enhance semantics.
Event (events)Events are a convenient interface provided by the Ethereum virtual machine (EVM) log infrastructure. Used to get the event that is currently occurring.
Contract Simpleauction {
Event anewhigherbid (address bidder, uint amount);
function Bid (UINT Bidvalue) external {
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.