Setting up Truffle

From rbachwiki
Revision as of 18:57, 11 March 2018 by Bacchas (talk | contribs)
Jump to navigation Jump to search

Setting up Truffle for your project

  1. go into your project Directory
truffle init

You need to create your smart contracts in the contracts folder Then you need to create a file int eh migrations folder to process your contract Filename: 2_deploy_contracts.js

var Greetings = artifacts.require("./Greetings.sol");
module.exports = function(deployer){
   deployer.deploy(Greetings);
};