fbpx

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

Julien Klepatch

In the last video of the smart contract testing series I showed you the basic usage of the Big Number library to deal with integers.

But Big Number has many more trick up his sleeves 🙂 In this video, I will show you all these tricks so that you feel comfortable manipulating Big Number objects in your Truffle tests:

  • adding big numbers
  • comparing big numbers
  • and more…

0 Comments

Leave a Reply

More great articles

Ether wallet – Part I

In this video, we will start to code a wallet for Ether, using a Solidity smart contract. You will learn…

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

How to import Solidity ABI to Dapp frontend? 4 Solutions

When you develop a Dapp, you need the Solidity ABI of your smart contract in order to configure web3 to…

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