fbpx

Debugging with events

Julien Klepatch

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 this video, it will be WAAAAAY easier to debug Solidity smart contracts!

0 Comments

Leave a Reply

More great articles

More tricks for bn.js (Big Number) library in Truffle tests

In the last video of the smart contract testing series I showed you the basic usage of the Big Number…

Read Story

Understanding Truffle variable injection magic in test files

In Truffle, when you write tests, you can use 'artifacts' and 'web3' objects, without defining these names: const MyContract =…

Read Story

How To Use Ganache GUI With Truffle? | Episode 14

https://www.youtube.com/watch?v=aRJA1r1Gwu0&t=1s Ganache CLI is an Ethereum client used for developing smart contracts and dapps. It is a command-line tool but…

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