Use case of --enclave-file
in running CCF host
#2704
-
While running a new CCF host manually, using the IMO, if both of these imply the same property, i.e., the user application to be run on CCF, then how can we effectively build a library file for a JavaScript application using
The above command correctly started a CCF node with the specified enclave file or sample user application. However, I am missing out steps to run, let's say, the Forum JavaScript application on this node directly instead of For understanding a little deeper, I followed the
I went over the Please let me know if I have misunderstood something here, or if I am missing out something. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
You may find the tutorial helpful (https://microsoft.github.io/CCF/main/build_apps/js_app_ts.html), but please do feel free to ask (or suggest improvements!) if anything is unclear. |
Beta Was this translation helpful? Give feedback.
js_generic
is an enclave shared object that contains a reference javascript runtime. The idea is that all JavaScript applications use that, and upload their application code to the KV store, using a governance proposal (see https://microsoft.github.io/CCF/main/build_apps/js_app_bundle.html#deployment for details).You may find the tutorial helpful (https://microsoft.github.io/CCF/main/build_apps/js_app_ts.html), but please do feel free to ask (or suggest improvements!) if anything is unclear.