Articles about solidity fundamentals
Interact with other contracts using contract Interfaces
In this article we review what are smart contract interfaces in solidity and how to use them to interact with other contracts in the blockchain.
How to get a smart contract balance
A detailed explanation of how to obtain the balance of a contract from the contract itself and for other contracts
Generating random numbers in Solidity easily
Here is a quick way to generate semi random numbers in Solidity without using external contracts or an oracle.
Solidity fundamentals: working with dates and time
Another quick article with everything you need to know about how to handle dates and time in solidity smart contracts
Solidity fundamentals: require conditional
The require conditional is very common in Solidity as it stops the exeution of a function if a condition is not true.
Solidity funcions visibility: public, private, internal and external
A detailed guide about functions visibility in Solidity explaining the difference between public and private, and internal and external
Solidity fundamentals: Global variables (msg, this & block)
Solidity offers a range of global variables that we can access in our smart contracts.These global variables provide information about the blockchain.
Solidity fundamentals: data location (storage vs memory)
A quick review of the different places where you can store variables in Solidity: storage and memory
Math operations in Solidity: the basics
A quick guide describing how to do basic mathematical operations in Solidity
Solidity fundamentals: all about functions
A detailed guide about functions in Solidity explaining how to declare them, return statements, visibility, and types (view and pure)
Solidity fundamentals: complex data types
Continuation of the previous article about data types, now reviewing complex way to store and handle data using structs, arrays and mappings.
Solidity fundamentals: basic data types
An introduction to the most basic data types in Solidity: integers, strings, booleans and addresses