
Once you are done initializing the 4 shares, you'll have 4 files in /data/app/subzero/wallets/initialized: Mv -n subzero-0.wallet initialized/subzero-0.wallet-1 Since this response contains ciphertext, the data will be different each time.īefore you can repeat the wallet initialization process 3 more times, you need to move the wallet file out of the way: # In a fresh Terminal tab In our case, the response was CnMKcQpv3trfyO6S55vO5PLtkpjakvPNzdOb+PLe0P3O5sft4tzb55Lp2tLd5N7Fydjs4MPZ8szcn5Lkm53dyc+ewcWSweDF2snP39ub/fny2v/v7ODI8uzA0M7+/8/8meDD0M7znO3vx+ub7+aS3Z3O+sDy.
#BREW CASK CLION CODE#
A QR code is displayed, but you can also copy the data from the Terminal. You can instead use the Terminal tab to copy-paste data. You can paste this code in the GUI, which will change the GUI to the approval step. Unless if you set a wallet id, the QR code On the web browser, click on "generate QR code" under Initialize a wallet. Broadcasting a transaction will require 2 signatures. Creating a wallet will therefore require 4 Your environment should look as following (from top left, going clockwise): the GUI, a web browser, and a Terminal.Ĭreating a wallet and signing your first transactionīy default, Subzero is configured to work with 2-of-4 signatures. subzero/java/gui/target/gui-1.0.0-SNAPSHOT-shaded.jar # in a fresh Terminal tab, open open # start the GUI subzero/java/server/target/server-1.0.0-SNAPSHOT.jar server # in a fresh Terminal tab, start the dev/demo server (listens on port 8080) Some number of red lines is thus expected # when the Core starts, it runs several self checks. # start the core (listens on port 32366 by default) Touch /data/app/subzero/wallets/.subzero_702e63a9 Sudo chown $USER /data/app/subzero/wallets/ # build the C code, using testnet transactions. # close + re-open the Terminal window for some changes to take effect # Security & Privacy settings and allow the action to take place.
#BREW CASK CLION MAC OS X#
# note: if Mac OS X gives you a warning about unverified developers, you can go to the Provide additional docker files for running the GUI and web server). & docker run -t -p 32366:32366 -name subzero subzero. The command to build and run the Core isĬd core docker build -t subzero. (You can skip some of these steps if you prefer to use Docker instead. If you would like to develop andĬontribute to Subzero, we recommend installing Intellij IDEA for the Java piece

This section goes over the minimal set of tools needed to build and run Subzero. Installing the tools and building the code Since we don't have a HSM, we'll be using stub classes (included with Subzero) to successfully compile theĬode - HSM-specific steps will then be skipped. The web server and GUI are built using maven and run with Java. The Core is compiled using cmake and gcc.
#BREW CASK CLION WINDOWS#
Windows users areĪdvised to use a virtualization layer (e.g. Linux users can simply skip irrelevant parts. The instructions in this page work with Mac OS X. Not encrypted - Subzero's security model assumes you are using a HSM in your production setup. This is useful for evaluation purpose as well as development. Building and Running the code without HSMs
