My first Solidity smart contract

Words
167
Reading
1 min
Listen
Play
4y

image.png

A few weeks ago I started learning web development in order to later jump into Solidity and create my first dApp.
After following some HTML/CSS/JS tutorials, last week I started watching a Beginners Solidity Course and deployed my first "Hello World" smart contract on Mumbai Network, the Polygon testnet.

Nothing special, just a short smart contract where you can check a string in the state memory of the contract or change that string value paying the transaction cost.

Screenshot 2023-03-09 at 20.23.33.png

You can directly check the code in testnet polyscan

And play around with it using the Read Contract and Write Contract buttons. The Read tab shows you what's stored in the contract variable, it has no gas cost to check, but if you want to change the content using the Write Contract tab, you will have to connect your wallet on Mumbai and pay for the transaction

Screenshot 2023-03-09 at 20.37.37.png

If you feel like trying it yourself, you can follow the free youtube beginners' tutorial from Hashlibs.
Have fun!