Setting up Truffle
Jump to navigation
Jump to search
Setting up Truffle for your project
- 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); };