Skip to content

Commit

Permalink
add amoy chain
Browse files Browse the repository at this point in the history
  • Loading branch information
claudioBarreira89 committed Jun 25, 2024
1 parent a5611a4 commit fdfea2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .env.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PRIVATE_KEY=
POLYGON_MUMBAI_RPC=
POLYGON_AMOY_RPC=
PINATA_API_KEY=
POLYGON_MAINNET_RPC=
POLYGONSCAN_API_KEY=
4 changes: 2 additions & 2 deletions .github/workflows/hardhat-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ jobs:
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
PINATA_API_KEY: ${{ secrets.PINATA_API_KEY }}
POLYGON_MUMBAI_RPC: ${{ secrets.POLYGON_MUMBAI_RPC }}
POLYGON_MAINNET_RPC: ${{ secrets.POLYGON_MUMBAI_RPC }}
POLYGON_AMOY_RPC: ${{ secrets.POLYGON_AMOY_RPC }}
POLYGON_MAINNET_RPC: ${{ secrets.POLYGON_AMOY_RPC }}

steps:
- uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ dotenv.config();
const config: HardhatUserConfig = {
solidity: "0.8.20",
networks: {
polygonMumbai: {
url: process.env.POLYGON_MUMBAI_RPC,
polygonAmoy: {
url: process.env.POLYGON_AMOY_RPC,
accounts: [process.env.PRIVATE_KEY || ""],
},
polygonMainnet: {
Expand Down

0 comments on commit fdfea2d

Please sign in to comment.