From 8b7b040963506883fe0114aa45392bf433177e7e Mon Sep 17 00:00:00 2001 From: PacificYield <173040337+PacificYield@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:36:07 +0100 Subject: [PATCH] chore: remove scripts --- scripts/deploy.ts | 25 ------------------------- scripts/faucet.sh | 10 ---------- 2 files changed, 35 deletions(-) delete mode 100644 scripts/deploy.ts delete mode 100755 scripts/faucet.sh diff --git a/scripts/deploy.ts b/scripts/deploy.ts deleted file mode 100644 index e196972..0000000 --- a/scripts/deploy.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { ethers } from 'hardhat'; - -async function main() { - const currentTimestampInSeconds = Math.round(Date.now() / 1000); - const unlockTime = currentTimestampInSeconds + 60; - - const lockedAmount = ethers.parseEther('0.001'); - - const lock = await ethers.deployContract('Lock', [unlockTime], { - value: lockedAmount, - }); - - await lock.waitForDeployment(); - - console.log( - `Lock with ${ethers.formatEther(lockedAmount)}ETH and unlock timestamp ${unlockTime} deployed to ${lock.target}`, - ); -} - -// We recommend this pattern to be able to use async/await everywhere -// and properly handle errors. -main().catch((error) => { - console.error(error); - process.exitCode = 1; -}); diff --git a/scripts/faucet.sh b/scripts/faucet.sh deleted file mode 100755 index bc06af3..0000000 --- a/scripts/faucet.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -# Alice -npm run fhevm:faucet -sleep 8 -npm run fhevm:faucet:bob -sleep 8 -npm run fhevm:faucet:carol - -