Skip to content

Conversation

@kapetan3sid
Copy link
Collaborator

This PR introduces 3 pages:

  • Install and Config
  • Compile and Test
  • Deploy a contract

These pages were split from develop/smart-contracts/dev-environments/hardhat.md in master branch

@kapetan3sid kapetan3sid requested a review from a team as a code owner October 28, 2025 14:01
Copilot AI review requested due to automatic review settings October 28, 2025 14:01
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR splits a single Hardhat documentation page into three separate pages focused on installation/configuration, compilation/testing, and deployment. This improves documentation organization by separating concerns and making each topic more accessible.

Key changes:

  • Created install-and-config.md covering Hardhat setup, prerequisites, and plugin installation
  • Created compile-and-test.md covering contract compilation, testing environment setup, and test execution
  • Created deploy-a-contract.md covering local and testnet deployment procedures

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
smart-contracts/dev-environments/hardhat/install-and-config.md New page documenting Hardhat installation, configuration, and initial setup for Polkadot Hub development
smart-contracts/dev-environments/hardhat/compile-and-test.md New page documenting contract compilation process and testing environment setup
smart-contracts/dev-environments/hardhat/deploy-a-contract.md New page documenting contract deployment to local and live networks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kapetan3sid kapetan3sid marked this pull request as draft October 28, 2025 14:02
kapetan3sid and others added 2 commits October 28, 2025 15:03
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kapetan3sid kapetan3sid changed the title create compile, deploy and install and config pages [Hardhat] Create compile, deploy and install and config pages Oct 28, 2025
@kapetan3sid kapetan3sid changed the title [Hardhat] Create compile, deploy and install and config pages [Hardhat] Create compile, deploy, install and config pages Oct 28, 2025
kapetan3sid and others added 10 commits October 28, 2025 15:30
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
- Update install-and-config.md to use standard Hardhat toolbox
- Replace hardhat-polkadot init with standard hardhat init
- Remove plugin upgrade section and PolkaVM-specific references
- Update compile-and-test.md to use solc instead of resolc
- Replace artifacts-pvm directory references with artifacts
- Remove Substrate node and ETH-RPC adapter configuration
- Update deploy-a-contract.md with inline standard Hardhat config
- Delete obsolete hardhat-polkadot config snippet files
@kapetan3sid kapetan3sid requested a review from Copilot November 7, 2025 18:44
@kapetan3sid kapetan3sid marked this pull request as ready for review November 7, 2025 18:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

kapetan3sid and others added 4 commits November 7, 2025 19:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Collaborator

@nhussein11 nhussein11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Left some comments, feel free to ping me if anything


```bash
npx hardhat run scripts/interact.js --network polkadotHubLocal
```
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Attach terminal output here

Copy link
Collaborator Author

@kapetan3sid kapetan3sid Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be attached as soon as the local node is deployed from master

kapetan3sid and others added 5 commits November 10, 2025 19:09
Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com>
Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com>
Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com>
Co-authored-by: Nicolás Hussein <80422357+nhussein11@users.noreply.github.com>
Copy link
Collaborator

@nhussein11 nhussein11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! some minor details but thank you very much @kapetan3sid !!

@kapetan3sid kapetan3sid added B0 - Needs Review Pull request is ready for review A0 - New Content Pull request contains new content pages labels Nov 11, 2025
@kapetan3sid kapetan3sid requested a review from eshaben November 13, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A0 - New Content Pull request contains new content pages B0 - Needs Review Pull request is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants