Skip to content

Commit

Permalink
Deploying to polygon using Infura
Browse files Browse the repository at this point in the history
  • Loading branch information
tuler committed Jun 28, 2021
1 parent 6c72cfb commit 03678e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,7 @@ const config: HardhatUserConfig = {
kovan: infuraNetwork("kovan", 42, 6283185),
goerli: infuraNetwork("goerli", 5, 6283185),
mainnet: infuraNetwork("mainnet", 1, 6283185),
matic_testnet: {
url: "https://rpc-mumbai.matic.today",
chainId: 80001,
accounts: mnemonic ? { mnemonic } : undefined,
},
matic_testnet: infuraNetwork("polygon-mumbai", 80001),
bsc_testnet: {
url: "https://data-seed-prebsc-1-s1.binance.org:8545",
chainId: 97,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"deploy:goerli": "Deploy contracts to goerli. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:kovan": "Deploy contracts to kovan. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:mainnet": "Deploy contracts to mainnet.",
"deploy:matic_testnet": "Deploy contracts to matic_testnet.",
"deploy:matic_testnet": "Deploy contracts to matic_testnet. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:avax_testnet": "Deploy contracts to avax_testnet.",
"deploy:rinkeby": "Deploy contracts to rinkeby. Requires two environment variables: PROJECT_ID and MNEMONIC.",
"deploy:ropsten": "Deploy contracts to ropsten. Requires two environment variables: PROJECT_ID and MNEMONIC.",
Expand Down

0 comments on commit 03678e3

Please sign in to comment.