February 2019
Intermediate to advanced
450 pages
9h 59m
English
These are the steps for deploying a smart contract to Ethereum blockchain with Truffle:
var Donation = artifacts.require("./Donation.sol");module.exports = function(deployer) { deployer.deploy(Donation);};
As for the migrations/1_initial_migration.js and contracts/Migrations.sol files, we leave these as they are for now. Truffle needs these files in order to deploy a smart contract.
Read now
Unlock full access