Solidity
Posts on Solidity and Ethereum smart-contract development.
-
Apr 3, 2023
Working with Dates and Time in Solidity using timestamps?
How do you store timestamps in Solidity when it not have Date or Time primitive types?
-
Apr 2, 2023
How to compare strings in Solidity?
Simple string comparison is not possible in Solidity. Use a hashing function to compare strings.
-
Apr 1, 2023
How to iterate through Solidity mappings?
`mapping`s are not iterable by default. We have to use them together with `array` to make `mapping`s iterable
-
Oct 15, 2022
Getting Started with Web3: build a simple game with scaffold-eth
Learning to build a Solidity app for Web3 using scaffold-eth saves you a lot of time