I have a particular bonding curve to integrate into Solidity. I have the function and would like to know if there is a Solidity contract that does math integral.

Something equivalent to this python package https://docs.scipy.org/doc/scipy//reference/generated/scipy.integrate.quad.html but for Solidity.

1 Answer 1


No, there is currently no Solidity contract that does Math Integral. If there is, the manipulation of data would cost money if done on-chain.

  • true effectively this could be expensive! I'll integrate directly with the primitive then! Thank you for the quick reply
    – foufrix
    Oct 5, 2022 at 21:17

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.