Skip to content

Commit

Permalink
Create evm.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 6, 2024
1 parent 7b3e862 commit 9a09fe3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions smart-contract/evm.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// evm.sol
pragma solidity ^0.8.0;

contract SmartContract {
mapping (string => string) public storage;

function store(string memory key, string memory value) public {
storage[key] = value;
}

function retrieve(string memory key) public view returns (string memory) {
return storage[key];
}
}

0 comments on commit 9a09fe3

Please sign in to comment.