fbpx
January 16, 2019

Types of Solidity runtime errors

"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 Story
January 15, 2019

Debugging with syntax highlighting

To 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 Story
January 14, 2019

Syntax vs runtime vs logic errors in solidity

A 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 Story
January 13, 2019

Debugging calls vs transactions

When 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 Story
January 2, 2019

Split payment – Part II

Previously, 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 Story
January 1, 2019

Split payment – Part I

In 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 Story
December 31, 2018

Ether wallet – Part III

This 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 Story
December 30, 2018

Ether wallet – Part II

In 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 Story
December 29, 2018

Ether wallet – Part I

In 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 Story
December 28, 2018

Crud – Part IV

If 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

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]
Arrow-up