I recently attempted a public key derivation of an elliptic curve using Cadence. This is part of an experimental art creation using smart contracts.
Take a look at the GitHub repository below.
In the process, I suffered from overflow constraints. I would prefer not to allow overflow/underflow in ordinary codes, but I thought there might be a certain demand for
mulmod as built-in functions.
I realize that this will affect the security of the smart contract code, but at the same time, I think it will be an element of creativity in a great environment for resource oriented programming.
What do you think about this? Have you considered this in the past?