Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Refu in eWASM to write Ethereum contracts #36

Open
axic opened this issue Feb 20, 2017 · 2 comments
Open

Using Refu in eWASM to write Ethereum contracts #36

axic opened this issue Feb 20, 2017 · 2 comments

Comments

@axic
Copy link
Contributor

axic commented Feb 20, 2017

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_imports for all the Ethereum interface methods.
  3. A framework providing high level Ethereum features (built on top of 1. and 2.)
@LefterisJP
Copy link
Contributor

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?

@pferdy
Copy link

pferdy commented Jan 27, 2024

Convex has developed big integer arithmetic >64 bits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants