"out of gas", "revert", "invalid opcode", what are all these weird error names in Solidity? In this video I will give you a full list of the errors in Solidity, and I will explain them to you, so that you can easily understand whats going on when you see them.
Read StoryTo debug syntax errors, you can rely on Solidity syntax highlighting. Fortunately for us, Remix has syntax highlighting activated by default, so we are good about this. In this video, I will teach you: How to fix the usual Solidity syntax errors? How to setup syntax highlighting in other code…
Read StoryA lot of people are confused about debugging in general and don't know the difference between a syntax error and a logic error. It's important to be understand the difference, so that you become good a debugging Solidity smart contracts. In this video, I am going to explain you simply…
Read StoryWhen I started to debug Solidity smart contracts, I was really confused by the fact that although there was a return statement in Solidity, I could not always read returned values when triggering functions from outside the smart contract. I was confused because I didn't know that Ethereum has 2…
Read StoryPreviously, we have implemented the main functionality of our split payment smart contract in Solidity. In this video tutorial, we are going to finish smart contract by adding access control. We will use Solidity require() statement for this.
Read StoryIn this video, we will start a smart contract to do split payments. Split payments allow to split an Ether payment into several addresses, with different amounts (i.e recipient addresses can receive different amounts). It can be especially useful for companies who want to pay employees or freelancers in Ether.…
Read StoryThis is the last part of the tutorial on how to build an Ether wallet smart contract. You will learn: how to do an ether transfer in Solidity the different unit of Ether (wei, gwei...)
Read StoryIn the previous episode we started an Ether wallet smart contract, and we can now send Ether to another address. However, everybody can call the send() function and steal all the Ether! Not great... In this video you will learn how to implement access control with the revert() built-in Solidity…
Read StoryIn this video, we will start to code a wallet for Ether, using a Solidity smart contract. You will learn how to send money to another address with the transfer() method of an address variable. with the transfer() method of an address variable.
Read StoryIf a user does not exist, no error is produced. We should change that. In this video you will learn how to use the revert() Solidity construct to produce an error.
Read Story