Is there a library that will let me store big ints and then perform arithmetic on them in eos smart contracts? I was trying to use the multiprecision library in boost but kept on getting an error: https://github.com/EOSIO/eos/issues/4350

Performing arithmetic on the provided checksum256 type is not so easy as it is just an array of smaller ints.

  • How big of integers are you looking for? The smart contracts support uint128_t natively. Commented Jun 27, 2018 at 21:39
  • @JohnHaager 256 bits
    – cookiekid
    Commented Jun 28, 2018 at 1:34

1 Answer 1


Yes, there's a big integer library for EOS.IO made by PlayerOne.

  • 3
    this library is quite outdated. I had to make quite a few changes to get it to compile. Seems to be working so far though.
    – cookiekid
    Commented Jun 29, 2018 at 5:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.