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

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