From 0f6d314883b6af22d36e974aa18ebf866dc03ac0 Mon Sep 17 00:00:00 2001 From: Anupam Kumar <56300182+akcgjc007@users.noreply.github.com> Date: Sun, 28 Mar 2021 18:59:04 +0530 Subject: [PATCH] Delete scripts directory --- scripts/1_send_to_winers.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 scripts/1_send_to_winers.js diff --git a/scripts/1_send_to_winers.js b/scripts/1_send_to_winers.js deleted file mode 100644 index 7aeaba5..0000000 --- a/scripts/1_send_to_winers.js +++ /dev/null @@ -1,15 +0,0 @@ - -module.exports = async function () { - const Mushroom = await artifacts.require("Mushroom").deployed(); - const MushroomReceiver = await artifacts.require("MushroomReceiver").deployed(); - const mush = new web3.eth.Contract(Mushroom.abi, Mushroom.address); - const mushR = new web3.eth.Contract(MushroomReceiver.abi, MushroomReceiver.address); - - const accounts = await web3.eth.getAccounts(); - - await mush.methods.mint(mushR).send({from: accounts[0]}); - -}; -// Create the token via mint() - -// Distribute the token via sendToWinners()