Skip to content

Instantly share code, notes, and snippets.

const DesigniaCoinCrowdsale = artifacts.require('./DesigniaCoinCrowdsale.sol');
const DesigniaCoin = artifacts.require('./DesigniaCoin.sol');
module.exports = function(deployer, network, accounts) {
const openingTime = web3.eth.getBlock('latest').timestamp + 10; // two secs in the future
const closingTime = openingTime + 86400 * 365; // 365 days
const rate = new web3.BigNumber(1000);
const wallet = accounts[1];
return deployer
Desktop/ERC20
└── web3@1.0.0-beta.37
Using network 'ropsten'.
Running migration: 1_initial_migration.js
Replacing Migrations...
... 0xcf49b50d20815f02646d7d4709c7d720a38812498d4ee663d7048ec5473bde9f