Before you proceed, make sure that you have installed the [prerequisites](https://hyperledger-fabric.readthedocs.io/en/latest/prereqs.html#).
Also, make sure that you have [Installed Fabric and Fabric samples](https://hyperledger-fabric.readthedocs.io/en/latest/install.html).
Download the `evidentia-chaincode` project and **copy** it under the `fabric-samples` directory. The chaincode for Evidentia is implemented in [Go](https://golang.org/), so make sure that you have configured your machine properly.
## Package chaincode with dependencies
To install the chaincode dependencies, run the following commands inside the `evidentia` directory:
*NOTE: The chaincode dependencies are already installed. Run the following two steps in case you want to re-install them.*
1.`go mod init evidentia`
2.`GO111MODULE=on go mod vendor`
The first command will create a file named `go.mod` which should look like below:
The following steps provide a summary of how to start the `test-network`, included in the `fabric-samples` directory and deploy the *evidentia* chaincode on the channel. More details can be found [here](https://hyperledger-fabric.readthedocs.io/en/latest/deploy_chaincode.html#package-the-smart-contract).