Comment on page
Quickstart (Scaffold)
Scaffold project using crypto3 library
This guide will set up a project scaffold using crypto3 and run an example. This will enable you to test ideas quickly and further explore the API’s of the suite. This guide will use a generic setup.
git clone [email protected]:NilFoundation/crypto3-template.git
cd crypto3-template
The project is an example of generic usage of the suite, adding the whole crypto3 suite as a sub-module dependency.
root
├── libs : submodule including the repository for crypto3 suite
├── src
│ ├── bls
│ │ │──── src: source for bls signing example.
- Clone sub-modules recursively
git submodule update --init --recursive
- Build: The project is built using the cmake system.
mkdir build && cd build && cmake .. && make
- Run executable
./src/bls/bls_sig
You should see the output
Verified signature successfully
on your console.Congratulations! You now have the environment to start experimenting with the crypto3 suite. You can now explore modules in the suite. Modules also have examples/tests in their repositories, ex: algebra examples.
Last modified 7mo ago