Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commit #46

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added build/.DS_Store
Binary file not shown.
Binary file added build/contracts/.DS_Store
Binary file not shown.
1,371 changes: 733 additions & 638 deletions build/contracts/Migrations.json

Large diffs are not rendered by default.

626 changes: 626 additions & 0 deletions build/contracts/SimpleStorage.json

Large diffs are not rendered by default.

2,602 changes: 0 additions & 2,602 deletions build/contracts/TodoList.json

This file was deleted.

15 changes: 15 additions & 0 deletions contracts/SimpleStorage.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
pragma solidity ^0.5.0;

contract SimpleStorage {
string public message;


function setMessage(string memory _message) public {
message = _message;
}


function getMessage() public view returns (string memory) {
return message;
}
}
42 changes: 0 additions & 42 deletions contracts/TodoList.sol

This file was deleted.

6 changes: 3 additions & 3 deletions migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var TodoList = artifacts.require("./TodoList.sol");
const SimpleStorage = artifacts.require("SimpleStorage");

module.exports = function(deployer) {
deployer.deploy(TodoList);
module.exports = function (deployer) {
deployer.deploy(SimpleStorage);
};
Loading