Mathematical Fun with ErgoScript
Just for fun, I decided to see how hard it would be to create a “bounty” protected by some mathematical problem. I was inspired by today’s announcement that 42 can be written as the sum of three cubes: 42 = (−80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3 I created the following trivial contract: { val a = getVar[BigInt](1).get val b = getVar[BigInt](2).get val c = getVar[BigInt](3).get a * a * a + b * b * b + c * c * c == 42 } I converted this to a P2S address ...
Ergo Community Forum