Index"Solidity" 1. The layout of a solidity source file "solidity" 2. Structure of the contract
"Solidity" 3. Type "solidity" 4. Unit and global variable "solidity" 5. Expression and control structure "
Index"Solidity" 1. The layout of a solidity source file "solidity" 2. Structure of the contract
"Solidity" 3. Type "solidity" 4. Unit and global variable "solidity" 5. Expression and control structure "
vote
The following contracts are quite complex, but show a lot of solidity features. Implement a voting contract. Of course, the main problem with electronic voting is how to allocate the right to vote to the right people and how to prevent manipulation. We will not solve all of the problems here, but at least we will show how to conduct a commission vote so that the votes are automatically and completely transparent.
The idea is to create a contract
This is the Solidity Tutorial series article 8th introduces the solidity API, which mainly manifests as built-in special variables and functions that exist in the global namespace.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you look at Ethereum first.S
This is the Solidity Tutorial series article 8th introduces the solidity API, which mainly manifests as built-in special variables and functions that exist in the global namespace.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you look at Ethereum first.S
Solidity API is mainly manifested as solidity built-in special variables and functions, they exist in the global namespace, mainly divided into the following categories:
Properties related to blocks and transactions
About error Handling
About math and encryption features
Address related
Contract related
Below is a detailed explanation ofBlocks and trading attributes (block and
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
This is Solidity Tutorial series article 9th describes solidity error handling.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you lo
Solidity Tutorial Series 5th-Introduction to solidity arrays.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you look at Ethereum fir
This is Solidity Tutorial series article 9th describes solidity error handling. Solidity series complete list of articles please scan the QR code below to view.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you
Solidity is a smart contract-oriented programming language. This is a four-year-old language designed to help develop smart contracts based on the Ethereum digital currency. Understanding its official documentation should be the best source of learning solidity: Solidity.readthedocs.ioWant to create your own cryptocurrency on the Ethereum network? Want to have your own initial code product? Here's the best
In the course of my research on the technology of Ethernet square, due to the relatively few data, it took a lot of detours. So here we will not first introduce the grammatical structure of solidity, but will be in the next phase, from the actual combat, to introduce you to Geth, browser-solidity, mist these three tools, and in the process of constantly explaining the basic concept of the ether.
Through the
Solidity is the high-level language of contract-oriented implementation of smart contracts. It is influenced by C ++,python and JavaScript and is designed for Ethereum virtual machines (EVM).
Solidity is a static type that supports features such as inheritance, libraries, and complex user-defined types.
You will see that you can create contracts for voting, crowdfunding, blind auctions, multi-signature wall
This is Solidity Tutorial series article 9th describes solidity error handling. Solidity series complete list of articles please scan the QR code below to view.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you
Solidity Tutorial Series III-Introduction to the Solidity function type.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, before reading this article, you should have an understanding of ethereum, smart contracts, if you do not understand, it is recommended tha
Solidity Tutorial Series 6th-solidity structure and mapping.For a complete list of articles in the solidity series, see Category-solidity.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts before reading this article.If you don't understand, it's recommended that you look at Ethereum firs
A simple smart contractStart with a very basic example, and don't worry that you don't know it at all, and we'll get to know more details.Storecontract SimpleStorage { uint storedData; function set(uint x) { storedData = x; } function get() constant returns (uint retVal) { return storedData; }}In solidity, a contract consists of a set of code (the function of the contract) and the data (the state of the contract). The cont
Introduction: In the previous section, we talked about developing specifications for developing smart contracts on the juice platform, and we will continue to discuss the solidity-defined assembly language in more depth in this section.The assembly language defined by solidity can achieve the following objectives:1. Use it to write code that is readable, even if the code is compiled from
Basic type conversion in solidity (14) | Getting Started series2017/4/29 posted in Solidity entry seriesClick to view the original text for optimized typography.
Implicit conversionsIf an operator can support different types. The compiler implicitly attempts to convert the type of an operand to the type of another operand, with the same assignment.
In general, the semantics can be converted as
Solidity Tutorial Series The third-solidity function type introduction. It 's written in front .
Solidity is the Ethernet Square Intelligent Contract programming language, before reading this article, you should have an understanding of the ether square, the intelligent contract, if you do not understand, suggest you first look at the etheric square is what
The f
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.