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 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…

Leave a Reply

Your email address will not be published. Required fields are marked *