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

An Oddly Tilted Planet

The rotation period of Uranus’s atmosphere is about 16 hours. Like Jupiter and Saturn, Uranus rotates differentially, so this period depends on the latitude. This can be measured by tracking the motions of clouds. To determine the rotation period for the underlying body of the planet, scientists looked to Uranus’s magnetic field, which is presumably anchored in the planet’s interior, or at least in the deeper and denser layers of its atmosphere. Data from Voyager 2 indicate that Uranus’s internal period of rotation is 17.24 hours. Voyager 2 also confirmed that Uranus’s rotation axis is tilted in a unique and bizarre way. Herschel found the first evidence of this in 1787, when he discovered two moons orbiting Uranus in a plane that is almost perpendicular to the plane of the planet’s orbit around the Sun. Because the large moons of Jupiter and Saturn were known to orbit in the same plane as their planet’s equator and in the same direction as their...

Greek Geocentric Model

    M ost Greek scholars assumed that  the Sun, the Moon, the stars, and the planets revolve about a stationary Earth. A model of this kind, in which the Earth is at the center of the universe, is called a geocentric model. Similar ideas were held by the scholars of ancient China. Today we recognize that the stars are not merely points of light on an immense celestial sphere. But in fact this is how the ancient Greeks regarded the stars in their geocentric model of the universe. To explain the diurnal motions of the stars, they assumed that the celestial sphere was real, and that it rotated around the stationary Earth once a day. The Sun and Moon both participated in this daily rotation of the sky, which explained their rising and setting motions. To explain why the Sun and Moon both move slowly with respect to the stars, the ancient Greeks imagined that both of these objects orbit around the Earth. ANALOGY Imagine a mer...

Kuiper belt

I t is a  circumstellar disc  in the outer  Solar System , extending from the  orbit  of  Neptune  (at 30  AU ) to approximately 50 AU from the  Sun .  It is similar to the  asteroid belt , but is far larger—20 times as wide and 20 to 200 times as massive.  Like the asteroid belt, it consists mainly of  small bodies  or remnants from when the  Solar System formed . While many asteroids are composed primarily of  rock  and metal, most Kuiper belt objects are composed largely of frozen  volatiles  (termed "ices"), such as  methane ,  ammonia  and  water . The Kuiper belt is home to three officially recognized  dwarf planets :  Pluto ,  Haumea  and  Makemake . Some of the Solar System's  moons , such as Neptune's  Triton  and  Saturn 's  Phoebe , may have originated in the region. The Kuiper belt is distin...