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

Trust Contracts: Fully fledged execution engine #259

Open
bpalaggi opened this issue Aug 23, 2019 · 0 comments
Open

Trust Contracts: Fully fledged execution engine #259

bpalaggi opened this issue Aug 23, 2019 · 0 comments
Labels
C. Trust Contract Engine type-feature

Comments

@bpalaggi
Copy link

@bpalaggi bpalaggi commented Aug 23, 2019

This is still far ahead in the future, but recording it here for reference:

Once we get a working CoinNet, we will focus on the Trust Contract.
In order to provide our users with the ability to execute contracts, we will integrate into Agora the equivalent of a virtual machine, which will run an input program and execute action. This input program will be WebAssembly bytecode. This way, we can reuse many of the existing tools being developed for it, which includes debugger, web-based runner, compiler support, etc...
Using WebAssembly also means that we don't necessarily have to come up with our own language, as many languages can compile to WebAssembly already.

This issue is about the execution engine: it is the part that will read the program and execute the actions based on it. It is likely that it will be based on an already-existing library, with some custom modifications (e.g. execution limitation).
Note that in addition to the execution in itself, we are likely to need a runtime, e.g. a way to handle input, output, reading other contracts outputs, etc...

@Geod24 Geod24 changed the title Execution engine Fully fledged execution engine Sep 4, 2019
@Geod24 Geod24 added this to the 6. Trust Contracts milestone Sep 4, 2019
@Geod24 Geod24 added the type-feature label Jul 5, 2020
@hewison-chris hewison-chris changed the title Fully fledged execution engine Trust Contracts: Fully fledged execution engine Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C. Trust Contract Engine type-feature
Projects
None yet
Development

No branches or pull requests

4 participants
@Geod24 @hewison-chris @bpalaggi and others