Add comprehensive GitHub Copilot instructions for smart contract development workflow #7
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a comprehensive
.github/copilot-instructions.md
file that provides detailed instructions for GitHub Copilot coding agents working in this Hardhat smart contract project.Key Features
Exhaustively Validated Commands: All instructions have been tested and validated in the current environment, including timing measurements and failure scenarios.
Environment-Specific Guidance: Documents the specific limitations of this environment, including:
--legacy-peer-deps
flagWorking Commands (All < 1 second):
npm install --legacy-peer-deps
(4 seconds, REQUIRED)npx hardhat --version
,npx hardhat clean
npx hardhat flatten contracts/SEQToken.sol
andcontracts/SEQICO.sol
Explicit Failure Documentation: Clearly identifies commands that will fail due to network restrictions:
npx hardhat compile
- Cannot download compilernpx hardhat test
,npx hardhat run scripts/deploy.js
- Require compilationAlternative Validation Workflows: Since builds/tests cannot run, provides comprehensive manual validation strategies using:
Imperative Tone: Instructions use commanding language ("Run this command", "DO NOT attempt") as specified, with "NEVER CANCEL" warnings and explicit timeout guidance.
The instructions enable effective development work within the constraints of this environment while clearly documenting what works and what doesn't, preventing wasted time on commands that will fail.
Fixes #6.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
binaries.soliditylang.org
node /home/REDACTED/work/scripts-deploy.js/scripts-deploy.js/node_modules/.bin/hardhat compile
(dns block)node /home/REDACTED/work/scripts-deploy.js/scripts-deploy.js/node_modules/.bin/hardhat test
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.