CCF documentation

_images/ccf.svg

Quickstart

First, you should setup a CCF-compatible environment. Then, you will be able to build CCF from source and run CCF test suite. Note that for rapid prototyping, you can run a virtual build of CCF that does not require Intel SGX.

Once this is done, you can quickly spin up a CCF network and start issuing commands to the deployed application:

$ cd CCF/build
$ ../start_test_network.sh --package ./liblogging.enclave.so.signed
Setting up Python environment...
Python environment successfully setup
[2019-10-29 14:47:41.562] Starting 3 CCF nodes...
[2019-10-29 14:48:12.138] Started CCF network with the following nodes:
[2019-10-29 14:48:12.138]   Node [ 0] = 127.177.10.108:37765
[2019-10-29 14:48:12.138]   Node [ 1] = 127.169.74.37:58343
[2019-10-29 14:48:12.138]   Node [ 2] = 127.131.108.179:50532
[2019-10-29 14:48:12.138] You can now issue business transactions to the ./liblogging.enclave.so.signed application.
[2019-10-29 14:48:12.138] See https://microsoft.github.io/CCF/users/issue_commands.html for more information.
[2019-10-29 14:48:12.138] Press Ctrl+C to shutdown the network.

You should also get familiar with some of CCF’s concepts. You will then be able to:

  1. Create a consortium and agree on the constitution

  2. Develop a CCF application, based on the example logging application

  3. Start a new CCF network to deploy the application

  4. Let the consortium configure and open the network to users

  5. Have users issue business transactions to the application