what is solidity programming language ?

What is solidity programming language ?


 Solidity is a contract-oriented, high-level programming language for implementing smart contracts. Solidity is highly influenced by C++, Python and JavaScript and has been designed to target the Ethereum Virtual Machine (EVM).

Solidity is statically typed, supports inheritance, libraries and complex user-defined types programming language.

You can use Solidity to 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. Apart from exceptional cases, only the latest version receives security fixes. Furthermore, breaking changes as well as new features are introduced regularly. We currently use a 0.y.z version number to indicate this fast pace of change.


A Simple Smart Contract example 


// SPDX-License-Identifier: GPL-3.0

pragma solidity >=0.4.16 <0.9.0;


contract SimpleStorage {

    uint storedData;


    function set(uint x) public {

        storedData = x;

    }


    function get() public view returns (uint) {

        return storedData;

    }

}

Comments

  1. 2) 정전기와 먼지로 인해 재생이 원활하지 않은 경우가 있습니다. 디스크를 코인카지노 마른 천으로 닦으시거나, DVD 클리너 등 전용 제품을 이용하면 대부분 해결됩니다. 4) 본품 보호를 위해 노란색의 카톤 박스로 재포장한 경우, 카톤박스는 품질 보증 대상이 아닙니다. 1) 4K UHD 디스크는 대용량의 데이터 전송이 필요하므로 4K전용 플레이어를 사용하셔야 합니다.

    ReplyDelete

Post a Comment

Last 7 Days

How to use referrerpolicy Attribute value (strict-origin ) with < iframe > tag in HTML ? with example

Tag is used to create inline frame ?