I am simple man, but learning Eth Dev.
I am testing a contract in Remix however I can't transfer Eth between the accounts in the javascript VM (using solidity V0.6.0 +). I have researched for a while but most implementations are in version 0.4. and i don't see the point in developing my smart contract on old versions especially considering secutiry and the great contracts made by Open Zeppelin.
So breaking my issue down to basic questions...
How do I transfer ethereum between accounts in REMIX JavaScript VM using solidity V0.6.0+?
All i want to do is send 1 ether from the user to the contract owner from (ownable.sol).From there I can build the logic i want for the actual contract.
function Fund() public payable{
address(owner).transfer(1 ether);
}
Where am I going wrong?!