. Rising Code Challenges Skip to main content

Posts

Showing posts from July, 2020

How to create, deploy and manage solidity contract on blockchain

Blockchain is the hottest technology now days, and smart contracts are the business logic or a protocol according to which all the transactions on a Blockchain happen. We are talking about develop and deploy a Smart contract on Ethereum blockchain, today. So I am assuming that you are familiar with the smart contracts. You knows what is smart contract and how it’s working. I am taking a small example to store and read a value on blockchain by smart contract. pragma solidity >= 0.4 . 16 < 0.7 . 0 ; contract SolidityStorage { uint256 storedData = 5 ; function set (uint256 _x) public { storedData = _x; } function get() public view returns (uint256) { return storedData; } } This is a basic example to store a value on blockchain. Let’s explain this example. pragma solidity >=0.4.16 <0.7.0; This is the compiler version of the solidity. You can change it to your requirements. Solidity is the language which use to create smart contract...