mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
da758aceaa
* Initial setup with hardhat. * Deploy Factory contract. * Deploy tokens and create pool using factory contract. * Deploy contract to private network. * Implement separate scripts for deploying Factory, Token and Pool. Co-authored-by: nikugogoi <95nikass@gmail.com>
23 lines
523 B
TypeScript
23 lines
523 B
TypeScript
import 'dotenv/config';
|
|
import { HardhatUserConfig } from "hardhat/config";
|
|
import "@nomiclabs/hardhat-waffle";
|
|
|
|
import './tasks/accounts'
|
|
import './tasks/deploy-factory'
|
|
import './tasks/deploy-token'
|
|
import './tasks/create-pool'
|
|
|
|
const config: HardhatUserConfig = {
|
|
solidity: "0.8.0",
|
|
networks: {
|
|
private: {
|
|
url: process.env.ETH_RPC_URL
|
|
}
|
|
},
|
|
defaultNetwork: 'private'
|
|
};
|
|
|
|
// You need to export an object to set up your config
|
|
// Go to https://hardhat.org/config/ to learn more
|
|
export default config;
|