keycard-redeem/migrations/01_initial_migration.js

17 lines
569 B
JavaScript
Raw Normal View History

2020-09-23 09:26:59 +00:00
const Migrations = artifacts.require("Migrations");
const NFTBucketFactory = artifacts.require("NFTBucketFactory");
const ERC20BucketFactory = artifacts.require("ERC20BucketFactory");
const TestToken = artifacts.require("TestToken");
2020-09-30 10:11:56 +00:00
const TestNFT = artifacts.require("TestNFT");
2020-09-23 09:26:59 +00:00
module.exports = function(deployer, network) {
deployer.deploy(Migrations);
deployer.deploy(NFTBucketFactory);
deployer.deploy(ERC20BucketFactory);
if (network === "development") {
2020-09-23 15:32:54 +00:00
deployer.deploy(TestToken, "Dev Test Token", "DTT", 18);
2020-09-30 10:11:56 +00:00
deployer.deploy(TestNFT);
2020-09-23 09:26:59 +00:00
}
};