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
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 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
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
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
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
Intelligent Contract Language Solidity tutorial series the second-solidity address 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 th
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
Solidity Tutorial Series second article-solidity address type description.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 t
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.This part of the official English document is not very thorough, so I refer to the solidity Official document (currently the latest version: 0.4.20) In addition to the in-depth analysis section.Data locationIn the first series
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.The first half of this article is a reference to the solidity official document (currently the latest version: 0.4.20) for translation, the latter part of the official documentation does not provide code for the knowledge Poin
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
Assign Value (Assignment)
deconstruct assignment and return multiple results (destructing Assignments and returning multip values)
The solidity built-in support tuple (tuple), that is, supports a list of possible completely different types, fixed in number (tuple generally refers to two, and a triple generally refers to three).
This built-in structure can return multiple results at the same time, and can also be used to assign values to multiple var
This is Solidity Tutorial series article 7th introduces the etheric units and time units, series with you to thoroughly understand the solidity language.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.Subscribe to the Blockchain
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
Now the solidity Chinese document, either the translation is too bad, or too old, decided to re-translate.In particular, criticized the Geek Institute named "solidity official document Chinese version of" translation, machine translation is better than it, we still do not look.Write in frontSolidity is the Ethereum Smart Contract programming language, you should know about Ethereum and smart contracts befor
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.