August 2019
Intermediate to advanced
486 pages
13h 52m
English
We have created a migration script, 3_depositContract.js, which is present in the migrations folder of the project. The following are the contents of the file:
var DepositContract = artifacts.require("DepositContract");module.exports = function(deployer) { deployer.deploy(DepositContract);};
When you run the truffle migrate command, this script will deploy the DepositContract contract instance on the local blockchain.