logo

Sign In

Get Started

post image

Intro to Solidity Programming

Listen

Solidity is the well known programming language for writing contracts on EVM Chains

author image

Blog by Vinay - Published at Mon, 20 Mar 2023 10:15:07 GMT

INTRODUCTION TO SOLIDITY PROGRAMMING

What is solidity?

why is it needed?

Before getting introduced to Solidity lets quickly jump into what is web 3.0 first !

“Web 3.0” the next internet era which is being fastly adopted by the users for the reason as it’s backed by blockchain.

Blockchain 🤔?

Blockchain is means of storing data so that it is immutable , distributed and transparent

‘’OKay ! Fine …. But what is the necessity of using Blockchain😏”

Let’s take the recent issue of Cloudflare! As Cloudflare is down ,in a snap entire internet was down..This reflects the companies being dependent on servers..If the servers are down, boom!!! all services aredown.A quick solution for this case is usage of blockchain.If their data is distributed i.e among the nodes, Even if few nodes go down , few other remain and the services keep running at the regular pace.

Secondly blockchain enhances the security and decentralization which is very much essential in today’s world.

Now coming to the Solidity , its a programming language used for creating Smart contract on Ethereum blockchain.

‘’Uffff!!!!What are Smart Contracts ?🧐’’

Smart Contracts are the pieces of code that simply work on condition — action mechanism..This means for a set of the conditions the smart contract is deployed, the actions to be incurred are defined in the piece of code that helps in fast , accurate actions for solving real time problems

Now back to the topic, Solidity is a statically-typed programming language which means we have to define the type of variable before declaring a variable.

Sample Piece of Smart Contract Written in REMIX IDE

Now you can start writing smart contract even in your local IDE like Visual Studio Code. But at beginning it is useful to use REMIX IDE..

From above you can see the word “ Contract ” , this word can be useful for making the compiler understand that the statements written under it belong to the particular contract..

Let’s see more about it on later…


Feel free to Comment below 🙂

Comments


Sam : Gmmmmmm