Code Monkey home page Code Monkey logo

solidity's Introduction

Solidity

Solidity is used for implementing smart contracts which is created by the Ethereum.

  • hello_world : first program of every programming language
  • datatype : dicussed about the datatypes present in solidity
  • counter : checks increment and decrement functionality and gas amount deducted when value is changed but when only to view no gas amount is deducted
  • enumerated : Enums are user-defined data types that restrict the variable to have only one of the predefined values.
  • structure : Structure are collection of different datatype and can be used inside mappings and arrays and they can themselves contain mappings and arrays.
  • view_pure : view and pure are built-in functionality given solidity to save gas amount. view function declares that no state will be changed. pure function declares no state will be changed or read.
  • infoGas : DO NOT RUN THIS CODE IT IS INFINITE LOOP CODE WHICH WILL DRAINED OUR ACCOUNT WRITTEN FOR TESTING PURPOSE ONLY
  • ether_units : wei = 1 wei, Kwei = 1e3 wei, Mwei = 1e6 wei, Gwei = 1e9 wei, microether = 1e12 wei, milliether = 1e15 wei, ether = 1e18 wei

solidity's People

Contributors

aisha29301 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.