Skip to main content

What is Solidity programming language?


                                                                                                  

Solidity is an object-oriented, high-level language for implementing smart contracts. Smart contracts are programs which govern the behaviour of accounts within the Ethereum state.

Solidity was influenced by C++, Python and JavaScript and is designed to target the Ethereum Virtual Machine (EVM).

Solidity is statically typed, supports inheritance, libraries and complex user-defined types among other features.

With Solidity you can create contracts for uses such as voting, crowdfunding, blind auctions, and multi-signature wallets.

When deploying contracts, you should use the latest released version of Solidity. This is because breaking changes as well as new features and bug fixes are introduced regularly. We currently use a 0.x version number to indicate this fast pace of change.


If you are new to the concept of smart contracts we recommend you start with an example smart contract written in Solidity. When you are ready for more detail, we recommend you read the “Solidity by Example” and “Language Description” sections to learn the core concepts of the language.

For further reading, try the basics of blockchains and details of the Ethereum Virtual Machine. 











 

Comments

Popular posts from this blog

Lorentz transformation

Lorentz transformation and its inverse : Define an event to have spacetime coordinates  ( t , x , y , z )  in system  S  and  ( t ′, x ′, y ′, z ′)  in a reference frame moving at a velocity v with respect to that frame,  S ′. Then the Lorentz transformation specifies that these coordinates are related in the following way: {\displaystyle {\begin{aligned}t'&=\gamma \ (t-vx/c^{2})\\x'&=\gamma \ (x-vt)\\y'&=y\\z'&=z,\end{aligned}}} where {\displaystyle \gamma ={\frac {1}{\sqrt {1-{\frac {v^{2}}{c^{2}}}}}}} is the Lorentz factor and  c  is the speed of light in vacuum, and the velocity  v  of  S ′, relative to  S , is parallel to the  x -axis. For simplicity, the  y  and  z  coordinates are unaffected; only the  x  and  t  coordinates are transformed. These Lorentz transformations form a one-param...

The Ptolemaic System

Explaining the nonuniform motions of the five planets was one of the main challenges facing the astronomers of antiquity. The Greeks developed many theories to account for retrograde motion and the loops that the planets trace out against the background stars. One of the most successful and enduring models was originated by Apollonius of Perga and by Hipparchus in the second century B.C. and expanded upon by Ptolemy, the last of the great Greek astronomers, during the second century A.D.  sketches the basic concept, usually called the Ptolemaic system. Each planet is assumed to move in a small circle called an epicycle, whose center in turn moves in a larger circle, called a deferent, which is centered approximately on the Earth. Both the epicycle and deferent rotate in the same direction As viewed from Earth, the epicycle moves eastward along the deferent. Most of the time the eastward motion of the planet on its epicycle adds to th...

Special Theory Of Relativity

The theory of special relativity explains how space and time are linked for objects that are moving at a consistent speed in a straight line. One of its most famous aspects concerns objects moving at the speed of light.  Simply put, as an object approaches the speed of light, its mass becomes infinite and it is unable to go any faster than light travels. This cosmic speed limit has been a subject of much discussion in physics, and even in science fiction, as people think about how to travel across vast distances. The theory of special relativity was developed by Albert Einstein in 1905, and it forms part of the basis of modern physics. After finishing his work in special relativity, Einstein spent a decade pondering what would happen if one introduced acceleration. This formed the basis of his general relativity, published in 1915. Einstein's work led to some startling results, which today still seem counterintuitive at first glance even though his...