Last active
January 13, 2021 15:22
-
-
Save GoodnessEzeokafor/682e7560a76a440eec138a8da3d2c0fc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const BCShopCourier = artifacts.require("BCShopCourier"); | |
const BCShopSeller = artifacts.require("BCShopSeller"); | |
const BCShopBuyer = artifacts.require("BCShopSeller"); | |
module.exports = async(deployer) => { | |
let deployBCShopCourier = await deployer.deploy(BCShopCourier) | |
.then(async(courier) => { | |
// console.log(data) | |
let deployBCShopSeller = await deployer.deploy(BCShopSeller, courier.address) | |
.then(async(seller) => { | |
let deployBCShopBuyer = await deployer.deploy(BCShopBuyer, [seller.address, courier.address]) | |
}) | |
}) | |
// console.log() | |
} | |
// module.exports = function(deployer) { | |
// deployer.deploy(Asset); | |
// }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment