Blockchain Basics
Solidity
3min
https //docs polygon technology/docs/home/blockchain basics/solidity#solidity solidity is an object oriented, high level programming language for implementing smart contracts it allows to write programs, which governs the behavior of accounts within blockchain network it is statically typed, supports contract inheritance and has many built in contract libraries solidity is similar to programming languages like c++, python and javascript it comprised of variables operators loops conditionals modifiers functions objects and types events interfaces and handles money transactions! before jumping to coding with solidity it is important to familiarize oneself with blockchain's mental models these are essential because of the contrasting difference in a blockchain application architecture and a common web application architecture where we want to go is web 3 0, where servers and databases are as decentralized as the clients in other words, clients can also act as servers or databases or both (aka, peer to peer) with many to many relationships at all levels of the stack, there are no concentrations of control and a single point of failure the network is maximally distributed essentially the following points need to be kept in mind always memory is limited each memory element requires all nodes on the blockchain to confirm and store that element computation complexity is limited reading data is free each write operation has a cost associated with it you pay it with ether the cost is measured in gas tools for working with solidity https //docs polygon technology/docs/home/blockchain basics/solidity#tools for working with solidity truffle dapp development framework remix web ide for solidity web3 metamask extra links https //docs polygon technology/docs/home/blockchain basics/solidity#resources 📚 solidity docs https //solidity readthedocs io/