A smart contract must be deployed to the network to make it available to the end users. To deploy a smart contract you send a transaction containing the compiled code of the smart contract without specifying any recipient.
Deploy using Ethcode
Ethcode: Deploy contract - command used to deploy the selected contract on the network.
deploy contact command
2. Paste the newly deployed contract address in your projectName/artifacts/<ContractName>.sol/ContractName_deployed_address.json file.
If you facing transaction failure during contract deployment please refer page mentioned below.