My first Solidity smart contract

avatar

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!

Posted with STEMGeeks



0
0
0.000
2 comments
avatar

Very interesting! I see that you're not wasting your time at all.

On my side, I got distracted by other things, but I'll get there.

Congratz!

0
0
0.000
avatar

awesome i am learning solidity with a free course in live :D

0
0
0.000