mirror of
https://github.com/zama-ai/fhevm-solidity.git
synced 2026-04-17 03:00:47 -04:00
chore: remove scripts
This commit is contained in:
@@ -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;
|
||||
});
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user