Deploying your first Contract
If you are running a Standalone node or are setting up a new channel the first thing you will need to do is deploy your contract. If you have not already written and compiled a contract to deploy first read the section on building a Smart Contract.
Using m8, the command to deploy a contract is:
m8 channel exec deployment --deployment-manifest deployment.yaml
Where deployment.yaml
is the path to a file containing the deployment
configuration for the contract. An example deployment.yaml can be found
here.