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 explainin
In my study of Ethereum technology, because of less relevant information, so took more detours. So here we will not introduce the grammatical structure of solidity, but will be in the next stage, from the actual combat, in succession to introduce Geth, browser-solidity, mist these three tools, and in the process of constantly explaining the basic concept of ether
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
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
created. Msg.sender is the address of the caller of the method that is valued.
Finally, the actual completion of the contract function, and is called by other users is the Mint and send method. If Mint is called by an account that is not created by the contract, it will not work. However, send can be called by any account (which must have an Ethernet account) and send the etheric currency to another account. Note that if you use a contract to send the etheric currency to another account, viewi
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
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
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
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
Use * * Ethereum wallet DEVELOPMENT * * To achieve the classic Helloword smart contract class. In this article, we'll see how to write a simple contract and deploy it to a blockchain. We'll also learn how to interact with our smart contracts by sending and reading data. Solidity's contract syntax is actually similar to classes in object-oriented programming languages. Smart contracts have functions that we can call and variables that can be stored and read. Our ' Counter ' contract will store th
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.Part of this series is a reference to the solidity official document (currently the latest version: 0.4.20) for translation, and the other part is solidity in-depth analysis, which
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.