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...

Copernicus and the Arrangement of the Planets

In the years after 1500, Copernicus came to realize that a heliocentric model has several advantages beyond providing a natural explanation of retrograde motion. In the Ptolemaic system, the arrangement of the planets—that is, which are close to the Earth and which are far away—was chosen in large part by guesswork. But using a heliocentric model, Copernicus could determine the arrangement of the planets without ambiguity. Copernicus realized that because Mercury and Venus are always observed fairly near the Sun in the sky, their orbits must be smaller than the Earth’s. Planets in such orbits are called inferior planets. The other visible planets—Mars, Jupiter, and Saturn—are sometimes seen on the side of the celestial sphere opposite the Sun, so these planets appear high above the horizon at midnight (when the Sun is far below the horizon). When this happens, the Earth must lie between the Sun and these planets. Copernicus therefore conclude...