Eat The Blocks Blog

Blockchain development: Ethereum, Solidity, Web3
June 30, 2019

Overview of the Github repos of Truffle

You probably have heard or used Truffle, the leading framework for Solidity smart contracts. But are you aware of all…

Read Story

Testing dates in Solidity smart contracts – Part I

Dates are a bit weird in Solidity. Solidity does have some keywords for working with dates, like now, or 1…

Read Story

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

Testing integers in smart contract with Truffle and bn.js (Big Number)

In Solidity smart contract, you might have to deal with huge numbers, especially when doing financial transfers. Don't forget that…

Read Story

Isolate smart contract tests with Truffle clean room features

In Truffle tests, we have a mysterious contract() function: contract('my test', () => { if('it should ...', () => {…

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

Basic testing workflow with Truffle – Part 2

In this video, we will go through the whole process of test-driven-development (TDD) for Solidity smart contracts: writing the tests…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.

    Only great content, we don’t share your email with third parties.
    Arrow-up