New answers tagged truffle-deployment
1
const TodoList = artifacts.require("TodoList"); // Enter your Contract Name not File name
module.exports = function(deployer) {
deployer.deploy(TodoList);
};
0
If you are running a local blockchain, no one is mining so the block never arrives and it's just waiting for something to happen.
Hope it helps.
Top 50 recent answers are included
Related Tags
truffle-deployment × 135truffle × 84
truffle-migration × 66
contract-deployment × 39
solidity × 28
truffle-contract × 24
web3js × 13
contract-development × 9
truffle-compile × 9
truffle-test × 8
go-ethereum × 5
dapp-development × 5
ganache × 5
nodejs × 4
ropsten × 4
infura × 3
openzeppelin-contracts × 3
kovan × 3
truffle-config × 3
remix × 2
ether × 2
erc-20 × 2
gas × 2
private-blockchain × 2
dapps × 2