Adventures with Dumb Contracts

Photo by Henry Hustava on Unsplash


Dumb contracts

contract Hamlet_store{
string[] public paragraphs;
function writeText(string memory paragraphText) public {
contract Hamlet_event{
event Paragraph(uint indexed num, string paragraphText);
uint paragraphs;
function writeParagraph(string memory paragraphText) public{
emit Paragraph(paragraphs,paragraphText);

There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.

Back to the game

Game on



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store