watcher-ts/packages/uniswap/hardhat.config.ts
Ashwin Phatak da758aceaa
Script to deploy uniswap contracts locally for testing (#118)
* 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>
2021-07-05 11:05:45 +05:30

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;