Skip to content

Enclave images for JS bundles #3079

Answered by eddyashton
martijnlammers asked this question in Q&A
Discussion options

You must be logged in to vote

@mAlyanak I tried to answer a similar question here.

If you want to deploy a JS application with the js_generic enclave, you do not need to use CMake at all. We include a build of js_generic in each release. If you start a CCF network using that enclave image, you should then deploy the JS bundle using the standard governance procedure documented here.

That process would look something like:

# Start a network with the libjs_generic enclave
   ...
   You can now issue business transactions to the libjs_generic.enclave.so.signed application
   ...
# (NB: If that's started with sandbox.sh, leave it running in another terminal, or in the background, or...)

# Use the Python CCF package to bui…

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@martijnlammers
Comment options

@achamayou
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by martijnlammers
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants