You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: develop/smart-contracts/local-development-node.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Local Development Node
3
-
description: Follow this step-by-step guide to install a Substrate node and ETH-RPC adapter for smart contract development in a local environment.
3
+
description: Follow this step-by-step guide to install a Revive Dev node and ETH-RPC adapter for smart contract development in a local environment.
4
4
categories: Smart Contracts
5
5
---
6
6
@@ -14,7 +14,7 @@ A local development node provides an isolated blockchain environment where you c
14
14
15
15
By the end of this guide, you'll have:
16
16
17
-
- A running Substrate node with smart contract support.
17
+
- A running node with smart contract support.
18
18
- An ETH-RPC adapter for Ethereum-compatible tooling integration accessible at `http://localhost:8545`.
19
19
20
20
## Prerequisites
@@ -23,35 +23,36 @@ Before getting started, ensure you have done the following:
23
23
24
24
- Completed the [Install Polkadot SDK Dependencies](/develop/parachains/install-polkadot-sdk/){target=\_blank} guide and successfully installed [Rust](https://www.rust-lang.org/){target=\_blank} and the required packages to set up your development environment.
25
25
26
-
## Install the Substrate Node and ETH-RPC Adapter
26
+
## Install the Revive Dev Node and ETH-RPC Adapter
27
27
28
-
The Polkadot SDK repository contains both the [Substrate node](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/bin/node){target=\_blank} implementation and the [ETH-RPC adapter](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/frame/revive/rpc){target=\_blank} required for Ethereum compatibility. Start by cloning the repository and navigating to the project directory:
28
+
The Polkadot SDK repository contains both the [Revive Dev node](https://github.com/paritytech/polkadot-sdk/tree/{{dependencies.repositories.polkadot_sdk_contracts_node.commit_dev_node}}/substrate/frame/revive/dev-node){target=\_blank} implementation and the [ETH-RPC adapter](https://github.com/paritytech/polkadot-sdk/tree/{{dependencies.repositories.polkadot_sdk_contracts_node.commit_dev_node}}/substrate/frame/revive/rpc){target=\_blank} required for Ethereum compatibility. Start by cloning the repository and navigating to the project directory:
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:
The compilation process may take some time depending on your system specifications, potentially up to 30 minutes. Release builds are optimized for performance but take longer to compile than debug builds. After successful compilation, you can verify the binaries are available in the `target/release` directory:
With the binaries compiled, you can now start your local development environment. The setup requires running two processes.
50
51
51
-
Start the Substrate node first, which will initialize a local blockchain with the `dev` chain specification. This configuration includes `pallet-revive` for smart contract functionality and uses pre-funded development accounts for testing:
52
+
Start the node first, which will initialize a local blockchain with the `dev` chain specification. This configuration includes `pallet-revive` for smart contract functionality and uses pre-funded development accounts for testing:
52
53
53
54
```bash
54
-
./target/release/substrate-node --dev
55
+
./target/release/revive-dev-node --dev
55
56
```
56
57
57
58
The node will begin producing blocks immediately and display initialization logs:
@@ -61,10 +62,10 @@ The node will begin producing blocks immediately and display initialization logs
61
62
For debugging purposes or to monitor low-level operations, you can enable detailed logging by setting environment variables before running the command:
Once the Substrate node is running, open a new terminal window and start the ETH-RPC adapter. This component translates Ethereum JSON-RPC calls into Substrate-compatible requests, allowing you to use familiar Ethereum tools like MetaMask, Hardhat, or Ethers.js:
68
+
Once the node is running, open a new terminal window and start the ETH-RPC adapter. This component translates Ethereum JSON-RPC calls into Substrate-compatible requests, allowing you to use familiar Ethereum tools like MetaMask, Hardhat, or Ethers.js:
68
69
69
70
```bash
70
71
./target/release/eth-rpc --dev
@@ -74,7 +75,7 @@ You should see logs indicating that the adapter is ready to accept connections:
description: Follow this step-by-step guide to install a Substrate node and ETH-RPC adapter for smart contract development in a local environment.
3411
+
description: Follow this step-by-step guide to install a Revive Dev node and ETH-RPC adapter for smart contract development in a local environment.
3412
3412
categories: Smart Contracts
3413
3413
---
3414
3414
@@ -3423,7 +3423,7 @@ A local development node provides an isolated blockchain environment where you c
3423
3423
3424
3424
By the end of this guide, you'll have:
3425
3425
3426
-
- A running Substrate node with smart contract support.
3426
+
- A running node with smart contract support.
3427
3427
- An ETH-RPC adapter for Ethereum-compatible tooling integration accessible at `http://localhost:8545`.
3428
3428
3429
3429
## Prerequisites
@@ -3432,41 +3432,42 @@ Before getting started, ensure you have done the following:
3432
3432
3433
3433
- Completed the [Install Polkadot SDK Dependencies](/develop/parachains/install-polkadot-sdk/){target=\_blank} guide and successfully installed [Rust](https://www.rust-lang.org/){target=\_blank} and the required packages to set up your development environment.
3434
3434
3435
-
## Install the Substrate Node and ETH-RPC Adapter
3435
+
## Install the Revive Dev Node and ETH-RPC Adapter
3436
3436
3437
-
The Polkadot SDK repository contains both the [Substrate node](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/bin/node){target=\_blank} implementation and the [ETH-RPC adapter](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/frame/revive/rpc){target=\_blank} required for Ethereum compatibility. Start by cloning the repository and navigating to the project directory:
3437
+
The Polkadot SDK repository contains both the [Revive Dev node](https://github.com/paritytech/polkadot-sdk/tree/{{dependencies.repositories.polkadot_sdk_contracts_node.commit_dev_node}}/substrate/frame/revive/dev-node){target=\_blank} implementation and the [ETH-RPC adapter](https://github.com/paritytech/polkadot-sdk/tree/{{dependencies.repositories.polkadot_sdk_contracts_node.commit_dev_node}}/substrate/frame/revive/rpc){target=\_blank} required for Ethereum compatibility. Start by cloning the repository and navigating to the project directory:
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:
The compilation process may take some time depending on your system specifications, potentially up to 30 minutes. Release builds are optimized for performance but take longer to compile than debug builds. After successful compilation, you can verify the binaries are available in the `target/release` directory:
With the binaries compiled, you can now start your local development environment. The setup requires running two processes.
3459
3460
3460
-
Start the Substrate node first, which will initialize a local blockchain with the `dev` chain specification. This configuration includes `pallet-revive` for smart contract functionality and uses pre-funded development accounts for testing:
3461
+
Start the node first, which will initialize a local blockchain with the `dev` chain specification. This configuration includes `pallet-revive` for smart contract functionality and uses pre-funded development accounts for testing:
3461
3462
3462
3463
```bash
3463
-
./target/release/substrate-node --dev
3464
+
./target/release/revive-dev-node --dev
3464
3465
```
3465
3466
3466
3467
The node will begin producing blocks immediately and display initialization logs:
<span data-ty>2025-05-29 10:42:35 ✌️ version 3.0.0-dev-38b7581fc04</span>
@@ -3506,10 +3507,10 @@ The node will begin producing blocks immediately and display initialization logs
3506
3507
For debugging purposes or to monitor low-level operations, you can enable detailed logging by setting environment variables before running the command:
Once the Substrate node is running, open a new terminal window and start the ETH-RPC adapter. This component translates Ethereum JSON-RPC calls into Substrate-compatible requests, allowing you to use familiar Ethereum tools like MetaMask, Hardhat, or Ethers.js:
3513
+
Once the node is running, open a new terminal window and start the ETH-RPC adapter. This component translates Ethereum JSON-RPC calls into Substrate-compatible requests, allowing you to use familiar Ethereum tools like MetaMask, Hardhat, or Ethers.js:
3513
3514
3514
3515
```bash
3515
3516
./target/release/eth-rpc --dev
@@ -3531,7 +3532,7 @@ You should see logs indicating that the adapter is ready to accept connections:
3531
3532
<span data-ty>2025-05-29 10:48:48 🔌 Subscribing to new blocks (FinalizedBlocks)</span>
3532
3533
</div>
3533
3534
3534
-
Similar to the Substrate node, you can enable detailed logging for the ETH-RPC adapter to troubleshoot issues:
3535
+
Similar to the Revive Dev node, you can enable detailed logging for the ETH-RPC adapter to troubleshoot issues:
description: Follow this step-by-step guide to install a Substrate node and ETH-RPC adapter for smart contract development in a local environment.
14223
+
description: Follow this step-by-step guide to install a Revive Dev node and ETH-RPC adapter for smart contract development in a local environment.
14224
14224
categories: Smart Contracts
14225
14225
---
14226
14226
@@ -14235,7 +14235,7 @@ A local development node provides an isolated blockchain environment where you c
14235
14235
14236
14236
By the end of this guide, you'll have:
14237
14237
14238
-
- A running Substrate node with smart contract support.
14238
+
- A running node with smart contract support.
14239
14239
- An ETH-RPC adapter for Ethereum-compatible tooling integration accessible at `http://localhost:8545`.
14240
14240
14241
14241
## Prerequisites
@@ -14244,41 +14244,42 @@ Before getting started, ensure you have done the following:
14244
14244
14245
14245
- Completed the [Install Polkadot SDK Dependencies](/develop/parachains/install-polkadot-sdk/){target=\_blank} guide and successfully installed [Rust](https://www.rust-lang.org/){target=\_blank} and the required packages to set up your development environment.
14246
14246
14247
-
## Install the Substrate Node and ETH-RPC Adapter
14247
+
## Install the Revive Dev Node and ETH-RPC Adapter
14248
14248
14249
-
The Polkadot SDK repository contains both the [Substrate node](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/bin/node){target=\_blank} implementation and the [ETH-RPC adapter](https://github.com/paritytech/polkadot-sdk/tree/master/substrate/frame/revive/rpc){target=\_blank} required for Ethereum compatibility. Start by cloning the repository and navigating to the project directory:
14249
+
The Polkadot SDK repository contains both the [Revive Dev node](https://github.com/paritytech/polkadot-sdk/tree/{{dependencies.repositories.polkadot_sdk_contracts_node.commit_dev_node}}/substrate/frame/revive/dev-node){target=\_blank} implementation and the [ETH-RPC adapter](https://github.com/paritytech/polkadot-sdk/tree/{{dependencies.repositories.polkadot_sdk_contracts_node.commit_dev_node}}/substrate/frame/revive/rpc){target=\_blank} required for Ethereum compatibility. Start by cloning the repository and navigating to the project directory:
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:
The compilation process may take some time depending on your system specifications, potentially up to 30 minutes. Release builds are optimized for performance but take longer to compile than debug builds. After successful compilation, you can verify the binaries are available in the `target/release` directory:
With the binaries compiled, you can now start your local development environment. The setup requires running two processes.
14271
14272
14272
-
Start the Substrate node first, which will initialize a local blockchain with the `dev` chain specification. This configuration includes `pallet-revive` for smart contract functionality and uses pre-funded development accounts for testing:
14273
+
Start the node first, which will initialize a local blockchain with the `dev` chain specification. This configuration includes `pallet-revive` for smart contract functionality and uses pre-funded development accounts for testing:
14273
14274
14274
14275
```bash
14275
-
./target/release/substrate-node --dev
14276
+
./target/release/revive-dev-node --dev
14276
14277
```
14277
14278
14278
14279
The node will begin producing blocks immediately and display initialization logs:
<span data-ty>2025-05-29 10:42:35 ✌️ version 3.0.0-dev-38b7581fc04</span>
@@ -14318,10 +14319,10 @@ The node will begin producing blocks immediately and display initialization logs
14318
14319
For debugging purposes or to monitor low-level operations, you can enable detailed logging by setting environment variables before running the command:
Once the Substrate node is running, open a new terminal window and start the ETH-RPC adapter. This component translates Ethereum JSON-RPC calls into Substrate-compatible requests, allowing you to use familiar Ethereum tools like MetaMask, Hardhat, or Ethers.js:
14325
+
Once the node is running, open a new terminal window and start the ETH-RPC adapter. This component translates Ethereum JSON-RPC calls into Substrate-compatible requests, allowing you to use familiar Ethereum tools like MetaMask, Hardhat, or Ethers.js:
14325
14326
14326
14327
```bash
14327
14328
./target/release/eth-rpc --dev
@@ -14343,7 +14344,7 @@ You should see logs indicating that the adapter is ready to accept connections:
14343
14344
<span data-ty>2025-05-29 10:48:48 🔌 Subscribing to new blocks (FinalizedBlocks)</span>
14344
14345
</div>
14345
14346
14346
-
Similar to the Substrate node, you can enable detailed logging for the ETH-RPC adapter to troubleshoot issues:
14347
+
Similar to the Revive Dev node, you can enable detailed logging for the ETH-RPC adapter to troubleshoot issues:
0 commit comments