A VirtualCoin contract written in Solidity
A virtual coin contract in solidity.
This project aims to create a simple contract with functions in Solidity
My motivation is to practise coding anytime anywhere
- pragma solidity - version >=0.4.0 <0.6.0;
Tested written code directly on remix.ethereum.org
Declare a state variable of type address that is publicly accessible
address public inventor;
Map an address to unint values
mapping (address => uint) public balances;
Constructor will fire when this contract is created Set inventor as creater of this contract:
constructor() public { inventor = msg.sender; }
Project is: finished
Credits to Solidity documentation
Created by Raynold - feel free to contact me!