add etherscan verification

This commit is contained in:
Barry Gitarts 2021-02-05 15:38:10 -05:00
parent ef256eb036
commit 147bbae2a0
3 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,7 @@ import "@typechain/ethers-v5";
import "hardhat-deploy";
import "@tenderly/hardhat-tenderly";
import { Wallet, providers } from "ethers";
import "@nomiclabs/hardhat-etherscan";
import path from 'path';
const bip39 = require("bip39");
@ -65,6 +66,9 @@ const config: HardhatUserConfig = {
default: 0
},
},
etherscan: {
apiKey: process.env.ETHERSCAN
},
networks: {
localhost: {
live: false,

View File

@ -2,6 +2,7 @@
"name": "hardhat-project",
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.0",
"@nomiclabs/hardhat-etherscan": "^2.1.1",
"@nomiclabs/hardhat-waffle": "^2.0.0",
"@openzeppelin/contracts": "^3.2.0",
"@symfoni/hardhat-react": "^0.1.13",

9
verify/Bridge.ts Normal file
View File

@ -0,0 +1,9 @@
const ETHEREUM_CHAIN_ID: number = 1;
const relayerThreshold: number = 1;
module.exports = [
ETHEREUM_CHAIN_ID,
["0x89eF29695D13C8497bA793E64c96eA371C4cDAC0"],
relayerThreshold,
0,
100
];