Solidity Tutorial : all about Addresses
17 min readAug 1, 2019
Table of Content
Introduction
- What is (technically) an Ethereum Address ?
- Basic of Addresses in Solidity & address literals
- Address vs address payable
- Methods available with addresses (including call(), delegatecall() and staticcall() )
- Types conversions between addresses and address payable
- Methods returning an address type
- The Zero Address
- Advanced Topics
References
There are nearly 49 million unique addresses on the Ethereum blockchain.
A Gentle Introduction
Let’s start with a very simple example to understand addresses in Ethereum (and in Blockchain in general). For this, we have to imagine a scenario.
You are on holiday in New York. It’s the the first time you visit the city and you love it ! So much that you decide to tell to your friend John Doe that he should definitely visit it one day.