Skip to content

Commit 81b2f5f

Browse files
nhussein11eshaben
andauthored
Fix local dev node (#1226)
* Remove outdated warning reference from local development node documentation * fix: llms * fix: llms --------- Co-authored-by: Erin Shaben <eshaben@icloud.com>
1 parent 7f4cb30 commit 81b2f5f

File tree

9 files changed

+4634
-11260
lines changed

9 files changed

+4634
-11260
lines changed

.ai/categories/smart-contracts.md

Lines changed: 6 additions & 472 deletions
Large diffs are not rendered by default.

.ai/categories/tooling.md

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10991,7 +10991,7 @@ Page Title: Use Hardhat with Polkadot Hub
1099110991

1099210992
Building on Polkadot Hub often starts with a Solidity codebase, and Hardhat keeps that workflow familiar while giving teams repeatable scripts, rich debugging, and CLI automation suited to the network's Ethereum-compatible execution layer.
1099310993

10994-
Hardhat is a comprehensive development environment for building, testing, and deploying smart contracts. It provides developers with a complete toolkit including compilation, local testing nodes, debugging tools, and deployment automation.
10994+
Hardhat is a comprehensive development environment for building, testing, and deploying smart contracts. It provides developers with a complete toolkit, including compilation, local testing nodes, debugging tools, and deployment automation.
1099510995

1099610996
## Hardhat Workflow
1099710997

@@ -11035,36 +11035,11 @@ A freshly initialized Hardhat project keeps code, configuration, and automation
1103511035

1103611036
## Core Functionalities
1103711037

11038-
### Project Setup
11039-
11040-
Hardhat provides a structured project initialization with organized folders for contracts, tests, deployment scripts, and automation. Scaffold a workspace quickly and keep configuration in a single `hardhat.config.js` file.
11041-
11042-
- Learn more in the [Install and Configure](/smart-contracts/dev-environments/hardhat/install-and-config/){target=\_blank} guide.
11043-
11044-
### Contract Compilation
11045-
11046-
Compile your Solidity smart contracts with configurable compiler versions and optimization settings. Hardhat captures build artifacts—ABI, bytecode, metadata—so you can deploy or interact with contracts from scripts and frontends.
11047-
11048-
- Deep dive into compilation in [Compile Smart Contracts](/smart-contracts/dev-environments/hardhat/compile-and-test/){target=\_blank}.
11049-
11050-
### Testing Environment
11051-
11052-
Run automated tests against a local Hardhat node, simulate transactions, and debug contract behavior before deploying to public networks. The built-in testing stack uses familiar JavaScript tooling such as Mocha and Chai.
11053-
11054-
- Master testing capabilities in [Test Your Smart Contracts](/smart-contracts/dev-environments/hardhat/compile-and-test/){target=\_blank}.
11055-
11056-
### Deployment
11057-
11058-
Ship your contracts with reusable deployment scripts or Hardhat Ignition modules. Manage credentials securely, target multiple networks, and repeat deployments with confidence.
11059-
11060-
- Follow deployment steps in [Deploy Smart Contracts](/smart-contracts/dev-environments/hardhat/deploy-a-contract/){target=\_blank}.
11061-
11062-
### Contract Interaction
11063-
11064-
Create scripts to interact with deployed contracts, read state, execute transactions, and automate maintenance tasks using your generated ABI.
11065-
11066-
- See practical tips in [Interact with Smart Contracts](/smart-contracts/dev-environments/hardhat/interact-with-a-contract/){target=\_blank}.
11067-
11038+
- **Project structure**: Organizes contracts, tests, scripts, and configuration into a consistent workspace. Provides a clear folder layout and a single configuration file (`hardhat.config.js`) to manage compilers, networks, and tooling.
11039+
- **Compilation**: Compiles Solidity sources, supports multiple compiler versions, and generates ABI and bytecode artifacts.
11040+
- **Local testing**: Runs tests written in JavaScript or TypeScript against an integrated local network, enabling fast feedback when validating contract behavior.
11041+
- **Task automation**: Automates deployments, maintenance operations, and recurring workflows through custom scripts and Hardhat tasks.
11042+
- **Contract interaction**: Enables reading contract state, sending transactions, and calling contract functions.
1106811043

1106911044
## Where to Go Next
1107011045

.ai/pages/smart-contracts-dev-environments-hardhat-get-started.md

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ url: https://docs.polkadot.com/smart-contracts/dev-environments/hardhat/get-star
1111

1212
Building on Polkadot Hub often starts with a Solidity codebase, and Hardhat keeps that workflow familiar while giving teams repeatable scripts, rich debugging, and CLI automation suited to the network's Ethereum-compatible execution layer.
1313

14-
Hardhat is a comprehensive development environment for building, testing, and deploying smart contracts. It provides developers with a complete toolkit including compilation, local testing nodes, debugging tools, and deployment automation.
14+
Hardhat is a comprehensive development environment for building, testing, and deploying smart contracts. It provides developers with a complete toolkit, including compilation, local testing nodes, debugging tools, and deployment automation.
1515

1616
## Hardhat Workflow
1717

@@ -55,36 +55,11 @@ A freshly initialized Hardhat project keeps code, configuration, and automation
5555

5656
## Core Functionalities
5757

58-
### Project Setup
59-
60-
Hardhat provides a structured project initialization with organized folders for contracts, tests, deployment scripts, and automation. Scaffold a workspace quickly and keep configuration in a single `hardhat.config.js` file.
61-
62-
- Learn more in the [Install and Configure](/smart-contracts/dev-environments/hardhat/install-and-config/){target=\_blank} guide.
63-
64-
### Contract Compilation
65-
66-
Compile your Solidity smart contracts with configurable compiler versions and optimization settings. Hardhat captures build artifacts—ABI, bytecode, metadata—so you can deploy or interact with contracts from scripts and frontends.
67-
68-
- Deep dive into compilation in [Compile Smart Contracts](/smart-contracts/dev-environments/hardhat/compile-and-test/){target=\_blank}.
69-
70-
### Testing Environment
71-
72-
Run automated tests against a local Hardhat node, simulate transactions, and debug contract behavior before deploying to public networks. The built-in testing stack uses familiar JavaScript tooling such as Mocha and Chai.
73-
74-
- Master testing capabilities in [Test Your Smart Contracts](/smart-contracts/dev-environments/hardhat/compile-and-test/){target=\_blank}.
75-
76-
### Deployment
77-
78-
Ship your contracts with reusable deployment scripts or Hardhat Ignition modules. Manage credentials securely, target multiple networks, and repeat deployments with confidence.
79-
80-
- Follow deployment steps in [Deploy Smart Contracts](/smart-contracts/dev-environments/hardhat/deploy-a-contract/){target=\_blank}.
81-
82-
### Contract Interaction
83-
84-
Create scripts to interact with deployed contracts, read state, execute transactions, and automate maintenance tasks using your generated ABI.
85-
86-
- See practical tips in [Interact with Smart Contracts](/smart-contracts/dev-environments/hardhat/interact-with-a-contract/){target=\_blank}.
87-
58+
- **Project structure**: Organizes contracts, tests, scripts, and configuration into a consistent workspace. Provides a clear folder layout and a single configuration file (`hardhat.config.js`) to manage compilers, networks, and tooling.
59+
- **Compilation**: Compiles Solidity sources, supports multiple compiler versions, and generates ABI and bytecode artifacts.
60+
- **Local testing**: Runs tests written in JavaScript or TypeScript against an integrated local network, enabling fast feedback when validating contract behavior.
61+
- **Task automation**: Automates deployments, maintenance operations, and recurring workflows through custom scripts and Hardhat tasks.
62+
- **Contract interaction**: Enables reading contract state, sending transactions, and calling contract functions.
8863

8964
## Where to Go Next
9065

.ai/pages/smart-contracts-dev-environments-local-dev-node.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ url: https://docs.polkadot.com/smart-contracts/dev-environments/local-dev-node/
77

88
# Local Development Node
99

10-
!!! smartcontract "PolkaVM Preview Release"
11-
PolkaVM smart contracts with Ethereum compatibility are in **early-stage development and may be unstable or incomplete**.
1210
## Introduction
1311

1412
A local development node provides an isolated blockchain environment where you can deploy, test, and debug smart contracts without incurring network fees or waiting for block confirmations. This guide demonstrates how to set up a local Polkadot SDK-based node with smart contract capabilities.
@@ -31,7 +29,6 @@ The Polkadot SDK repository contains both the [Revive Dev node](https://github.c
3129
```bash
3230
git clone https://github.com/paritytech/polkadot-sdk.git
3331
cd polkadot-sdk
34-
git checkout 8e2b6f742a38bb13688e12abacded0aab2dbbb23
3532
```
3633

3734
Next, you need to compile the two essential components for your development environment. The Substrate node provides the core blockchain runtime with smart contract support, while the ETH-RPC adapter enables Ethereum JSON-RPC compatibility for existing tooling:

.ai/pages/smart-contracts-for-eth-devs-migration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ You typically don't need to do anything special, but be aware:
131131
Yes. Both backends support:
132132
133133
- **Wallets**: [MetaMask](https://metamask.io/){target=\_blank}, [Talisman](https://talisman.xyz/){target=\_blank}, [SubWallet](https://www.subwallet.app/){target=\_blank}
134-
- **Development frameworks**: [Hardhat](/smart-contracts/cookbook/smart-contracts/deploy-basic/hardhat/){target=\_blank}, [Foundry](/smart-contracts/cookbook/smart-contracts/deploy-basic/foundry/){target=\_blank}, [Remix](/smart-contracts/cookbook/smart-contracts/deploy-basic/remix/){target=\_blank} (just consider that for PVM bytecode, you will use the Polkadot version of the tooling)
135-
- **Libraries**: [ethers.js](/smart-contracts/libraries/ethers-js/){target=\_blank}, [web3.js](/smart-contracts/libraries/web3-js/){target=\_blank}, [viem](/smart-contracts/libraries/viem/){target=\_blank}
134+
- **Development frameworks**: [Hardhat](/smart-contracts/cookbook/smart-contracts/deploy-basic/hardhat/){target=\_blank}, [Remix](/smart-contracts/cookbook/smart-contracts/deploy-basic/remix/){target=\_blank}
135+
- **Libraries**: [Ethers.js](/smart-contracts/libraries/ethers-js/){target=\_blank}, [Web3.js](/smart-contracts/libraries/web3-js/){target=\_blank}, [viem](/smart-contracts/libraries/viem/){target=\_blank}
136136
- **Testing tools**: Your existing test suites work
137137
138138
Connect to Polkadot Hub's Ethereum JSON-RPC endpoint and use your familiar workflow.

0 commit comments

Comments
 (0)