Skip to content

Commit

Permalink
Merge pull request #10 from 0xmichalis/cleanups
Browse files Browse the repository at this point in the history
Improve docs and defaulting
  • Loading branch information
0xmichalis authored Mar 20, 2024
2 parents 94bc3d6 + 25492b6 commit a8a2316
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
POLYGONSCAN_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1
CELO_API_KEY=ABC123ABC123ABC123ABC123ABC123ABC1

MUMBAI_URL=https://eth-ropsten.alchemyapi.io/v2/<YOUR ALCHEMY KEY>
ALFAJORES_URL=https://eth-ropsten.alchemyapi.io/v2/<YOUR ALCHEMY KEY>
MUMBAI_URL=
ALFAJORES_URL=

PRIVATE_KEY=0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ yarn hardhat test
yarn hardhat deploy --network <network>

# verify the contract
yarn hardhat verify --network <network to verify for> --contract "contracts/Faucet.sol:Faucet" <Faucet address> <toucan contract registry address> <BCT address> <NCT address>
yarn hardhat verify --network <network> --contract "contracts/Faucet.sol:Faucet" <address>
```
6 changes: 3 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ const config: HardhatUserConfig = {
},
networks: {
mumbai: {
url: process.env.MUMBAI_URL || "",
url: process.env.MUMBAI_URL || 'https://polygon-mumbai-bor-rpc.publicnode.com',
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
alfajores: {
url: process.env.ALFAJORES_URL || "",
url: process.env.ALFAJORES_URL || 'https://alfajores-forno.celo-testnet.org',
accounts:
process.env.PRIVATE_KEY !== undefined ? [process.env.PRIVATE_KEY] : [],
},
hardhat: {
forking: {
url: process.env.MUMBAI_URL || "",
url: process.env.MUMBAI_URL || 'https://polygon-mumbai-bor-rpc.publicnode.com',
blockNumber: 24578369,
},
},
Expand Down

0 comments on commit a8a2316

Please sign in to comment.