santigs avatar

My first Solidity smart contract

santigs

Published: 09 Mar 2023 › Updated: 09 Mar 2023My first Solidity smart contract

My first Solidity smart contract

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!

Leave My first Solidity smart contract to:

Written by

My thoughts and experiences. Web3 Onboarding guide pathless@rizful.com

Read more #solidity posts


Best Posts From santigs

We have not curated any of santigs's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From santigs