Open axic opened 7 years ago
Implementing Ethereum contracts in Refu would be a really nice feature as we discussed offline.
Regarding (1) I believe the natural choice for C and big numbers would be GMP. Are you aware of any other big number libraries?
Convex has developed big integer arithmetic >64 bits.
With #34 in place it seems to be possible emitting WebAssembly from Refu.
In order to write contracts, the following is needed: 1) A bignumber library, perhaps optimised for 256 bit numbers. 2) A standard library specifying the
foreign_import
s for all the Ethereum interface methods. 3) A framework providing high level Ethereum features (built on top of 1. and 2.)