-
Notifications
You must be signed in to change notification settings - Fork 0
Main #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main #4
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| # Infura RPC API Key (https://infura.io) | ||
| INFURA_API_KEY=your_infura_api_key_here | ||
|
|
||
| # Private key of the deployer wallet (NO 0x prefix) | ||
| PRIVATE_KEY=your_private_key_here | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches: [main] | ||
| pull_request: | ||
| branches: [main] | ||
|
|
||
| jobs: | ||
| test: | ||
| name: Hardhat Tests | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '22' | ||
| cache: 'npm' | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Compile contracts | ||
| run: npx hardhat compile | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The workflow runs Useful? React with 👍 / 👎. |
||
|
|
||
| - name: Run tests | ||
| run: npx hardhat test | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This template defines
INFURA_API_KEY, but the project’s Hardhat network config expectsSEPOLIA_RPC_URLand never consumesINFURA_API_KEY. A developer following this file will leaveSEPOLIA_RPC_URLunset, and Sepolia deployment commands will fail unless they infer and add a different variable manually.Useful? React with 👍 / 👎.