Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Merge pull request #39 from alymurtazamemon/main
Browse files Browse the repository at this point in the history
Sepolia Update
  • Loading branch information
PatrickAlphaC committed Mar 14, 2023
2 parents 45b2594 + 771fd13 commit 2c4aaab
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# for goerli deployment
GOERLI_RPC_URL='https://alchemy.infura.io/v3/1234567890'
# for sepolia deployment
SEPOLIA_RPC_URL='https://eth-sepolia.g.alchemy.com/v2/YOUR-API-KEY'
PRIVATE_KEY='abcdefg'

### Optional
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# DAO Template

*This has been updated to work with Goerli over Rinkeby*
*This has been updated to work with Sepolia over Goerli*

<div id="top"></div>

Expand Down
10 changes: 5 additions & 5 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import "hardhat-deploy"
import { HardhatUserConfig } from "hardhat/config"

const COINMARKETCAP_API_KEY = process.env.COINMARKETCAP_API_KEY || ""
const GOERLI_RPC_URL =
process.env.GOERLI_RPC_URL || "https://eth-goerli.alchemyapi.io/v2/your-api-key"
const SEPOLIA_RPC_URL =
process.env.SEPOLIA_RPC_URL || "https://eth-sepolia.g.alchemy.com/v2/YOUR-API-KEY"
const PRIVATE_KEY = process.env.PRIVATE_KEY || "privatKey"
const ETHERSCAN_API_KEY = process.env.ETHERSCAN_API_KEY || ""

Expand All @@ -25,10 +25,10 @@ const config: HardhatUserConfig = {
chainId: 31337,
allowUnlimitedContractSize: true
},
goerli: {
url: GOERLI_RPC_URL,
sepolia: {
url: SEPOLIA_RPC_URL,
accounts: [PRIVATE_KEY],
chainId: 5,
chainId: 11155111,
},
},
solidity: {
Expand Down
2 changes: 1 addition & 1 deletion helper-hardhat-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface networkConfigInfo {
export const networkConfig: networkConfigInfo = {
localhost: {},
hardhat: {},
goerli: {
sepolia: {
blockConfirmations: 6,
},
}
Expand Down

0 comments on commit 2c4aaab

Please sign in to comment.