Compile UNC codebase

you have to complete these before the next step to compile the UNC codebase

now you are ready to compile the application

 
  cd Unit-Network-Chain
  
  cargo clean
  

When you run cargo clean, it deletes the target directory in your project. The target directory is where Cargo stores the compiled code and build artifacts. By removing this directory, you ensure that the next build will start from scratch, recompiling all the code and rebuilding the project.

Cargo Build --release

when the build is complete, this is what you will see:

Compilation completed

When the build is completed, you will create the chainspec and we will name it customSpec.json file.

To do that, use this command:

For more information on the customSpec, refer to this

Last updated