mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
a7ec3d8da8
* Add license & copyright declarations for add-watcher. * Add copyright declarations for cache. * Add copyright declarations for erc20-watcher. * Add copyright declarations for ipld-eth-client. * Add copyright declarations for tracing-client. * Add copyright declarations for uni-watcher. * Add copyright declarations for solidity-mapper. * Add copyright declarations for uni-info-watcher. * Add copyright declarations for util. * Add copyright declarations for lighthouse-watcher. * Change license identifier in .sol files. Co-authored-by: prathamesh0 <prathamesh.musale0@gmail.com>
17 lines
447 B
TypeScript
17 lines
447 B
TypeScript
//
|
|
// Copyright 2021 Vulcanize, Inc.
|
|
//
|
|
|
|
import { task } from 'hardhat/config';
|
|
import '@nomiclabs/hardhat-ethers';
|
|
|
|
task('lighthouse-deploy', 'Deploys Lighthouse contract')
|
|
.setAction(async (_, hre) => {
|
|
await hre.run('compile');
|
|
|
|
const lighthouseFactory = await hre.ethers.getContractFactory('Lighthouse');
|
|
const lighthouse = await lighthouseFactory.deploy();
|
|
|
|
console.log('Lighthouse deployed to:', lighthouse.address);
|
|
});
|