This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.17; | |
// https://programtheblockchain.com/posts/2017/12/15/writing-a-contract-that-handles-ether/ | |
// https://colab.research.google.com/drive/1S860CGKebS9MxuzmdaQjpnbpBnYc0Ag3?usp=sharing | |
contract pmEtherBox { | |
string msgWithdrawn = 'Withdrawn'; | |
string msgDeposit = 'Deposit'; | |
string msgBalance = 'Current Balance'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.6; | |
// https://medium.com/robhitchens/solidity-crud-part-1-824ffa69509a | |
// https://bitbucket.org/rhitchens2/soliditycrud/src/master/contracts/SolidityCRUD-part1.sol | |
// | |
// the python client for this contract is available at | |
// https://colab.research.google.com/drive/1JQAze2ZxRF1_AsGbdyQWr82XsFWPP3gk?usp=sharing | |
// | |
contract pmCrudCon { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.24; | |
// https://www.dappuniversity.com/articles/solidity-tutorial | |
contract pmConOne { | |
string pmValue; | |
function get() public view returns(string) { | |
return pmValue; | |
} |