Back to Landing Page

Simple Storage dApp


Anyone can set/get values to/from the blockchain.

Empty response window


    pragma solidity >=0.7.0 <0.9.0;
    
      contract SimpleStore {

        function set(uint _value) public {
          value = _value;
        }

        function get() public view returns (uint) {
          return value;
        }

        uint value;
      }
  

Repository File:
lukso-network/example-dapps/simple-storage.html