Skip to content

Instantly share code, notes, and snippets.

@GoodnessEzeokafor
Last active January 13, 2021 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GoodnessEzeokafor/682e7560a76a440eec138a8da3d2c0fc to your computer and use it in GitHub Desktop.
Save GoodnessEzeokafor/682e7560a76a440eec138a8da3d2c0fc to your computer and use it in GitHub Desktop.
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