Hello World

Getting started with solidity with a very basic example

Solidity is a contract-oriented, high-level language for implementing smart contracts.Its feature include : statically typed,inheritance support, libraries and complex user-defined along with many others. Let's start with a very basic example on solidity.
  1. Remix : The best way to try out Solidity without installing anything is by using Remix .Remix is a web browser based IDE that allows you to write Solidity smart contracts, then deploy and run the smart contracts. We can use remix on the following URL : https://remix.ethereum.org/
Hello World example in solidity

pragma solidity ^0.4.0;

contract helloWorld {
    string hw;

    function set(string x) public {
        hw = x;

    function get() public constant returns (string) {
        return hw;