DEV Community

Seth Lawson
Seth Lawson

Posted on

GoodWeek smart contract

An MIT-licensed smart contract containing a public String variable named “message” which is initialised with “Have a good week!” to wish you a great week.

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract GoodWeek {
    string public message= "Have a good week !";
}
Enter fullscreen mode Exit fullscreen mode

If you like the article and would like to support me, make sure to:

📑 View more content on my dev.to Profile

🔔 Follow Me: LinkedIn| GitHub | Twitter

🚀 Help me in reaching to a wider audience by sharing my content with your friends and colleagues.

Top comments (0)