fbpx
January 30, 2019

Unit vs integration tests for smart contracts

Before you rush into testing your Solidity smart contracts, it's important to understand the difference between unit tests and integration tests. In this video I am going to explain you the difference between these 2 kind of tests in the context of smart contract. After you watch this video, you…

Read Story
January 30, 2019

Test driven development for Solidity

Do you write tests for your Solidity smart contracts? Congrats if you do, and if don't it's time to start! If you do, do you write your Solidity smart contract first, and only after your tests? There is a better way :) It's called Test-driven-development (TDD), and it consist in…

Read Story
January 29, 2019

DAO – Part V

We will finally finish our DAO smart contract! So far we can vote for investment proposals, but after the voting time is over we need to actually execute the investment proposal, by sending some ether to the recipient address of the proposal. We will also use for the first time…

Read Story
January 27, 2019

DAO – Part IV

In this video, we are going to allow investors of the DAO to: create investment proposals vote on each investment proposal We will manipulate Solidity mappings a lot, including nested mappings. We will also use a storage pointer, to be able to manipulate a struct instance more easily. Any investors…

Read Story
January 26, 2019

DAO – Part III

In this video, we are going to allow investors to cash out on their investment, in 2 ways: By redeeming their shares against Ether from the smart contract By selling their shares to other investors (outside the smart contract). In this case, the DAO smart contract will only be concerned…

Read Story
January 25, 2019

DAO – Part II

In this video, we start to build the DAO smart contract, and implement the following features: Collect investor money in Ether Keep track of investor money in shares

Read Story
January 24, 2019

DAO – Part I

In this new series of videos, we are going to build a DAO (Decentralized Autonomous Organization) smart contract. The DAO was a revolutionary kind of investment fund implemented as an Ethereum smart contract, where investment decisions where voted by investors. Investment decisions and executions were done in the code, without…

Read Story
January 23, 2019

Remix debugger – Advanced

In this video I will show you some advanced features of the Remix Debugger like: stepping over functions breakpoints These features allow you to quickly find the place of the Solidity code that you want to debug. It can be very useful in large smart contracts.

Read Story
January 22, 2019

Remix debugger – Introduction

he Remix debugger is a powerful that allows you to debug your Solidity code. Usually, if you are stuck and don't know how to fix a buggy Solidity smart contract, the Remix debugger is your last chance. In this video, I will introduce you how to use the Remix debugger:…

Read Story
January 21, 2019

Debugging with events

Do you like often use console.log() statement to debug your Javascript code? Convenient, uh? How about Solidity smart contracts, can we do the same? Well, yes and no. In this video, I will show you how you can do almost the same thing in Solidity with events. After you watch…

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