Skip to content

Commit 8ac0f25

Browse files
committed
apply feedback
1 parent c64b29d commit 8ac0f25

37 files changed

+176
-176
lines changed

develop/smart-contracts/block-explorers/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ description: Access PolkaVM explorers like Subscan, BlockScout, and Routescan to
55

66
# Block Explorers
77

8+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9+
810
## Introduction
911

1012
Block explorers serve as comprehensive blockchain analytics platforms that provide access to on-chain data. These web applications function as search engines for blockchain networks, allowing users to query, visualize, and analyze blockchain data in real time through intuitive interfaces.
1113

12-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
13-
1414
## Core Functionality
1515

1616
These block explorers provide essential capabilities for interacting with smart contracts in Polkadot Hub:

develop/smart-contracts/connect-to-polkadot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ description: Explore how to connect to Polkadot Hub, configure your wallet, and
55

66
# Connect to Polkadot
77

8+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9+
810
<div class="button-wrapper">
911
<a href="#" class="md-button connectMetaMask" value="passetHub">Connect to Polkadot Hub TestNet</a>
1012
</div>
1113

1214
For more information about how to connect to Polkadot Hub, please check the [Wallets for Polkadot Hub](/develop/smart-contracts/wallets/){target=\_blank} guide.
1315

14-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
15-
1616
## Networks Details
1717

1818
Developers can leverage smart contracts across diverse networks, from TestNets to MainNet. This section outlines the network specifications and connection details for each environment.

develop/smart-contracts/dev-environments/hardhat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Learn how to create, compile, test, and deploy smart contracts on P
55

66
# Hardhat
77

8+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9+
810
<div class="grid cards" markdown>
911
- :octicons-code-16:{ .lg .middle } __Test and Deploy with Hardhat__
1012

@@ -19,8 +21,6 @@ description: Learn how to create, compile, test, and deploy smart contracts on P
1921

2022
--8<-- 'text/smart-contracts/code-size.md'
2123

22-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
23-
2424
## Overview
2525

2626
Hardhat is a robust development environment for Ethereum-compatible chains that makes smart contract development more efficient. This guide walks you through the essentials of using Hardhat to create, compile, test, and deploy smart contracts on Polkadot Hub.

develop/smart-contracts/dev-environments/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ template: index-page.html
66

77
# Dev Environments
88

9-
Explore the tools and frameworks available for building and testing smart contracts on the Polkadot network. These environments streamline the development process, from writing and compiling to testing and deploying smart contracts. The guides in this section will help you evaluate each tool's strengths, making it easier to choose the best fit for your project based on complexity, team expertise, and specific requirements.
10-
119
--8<-- 'text/smart-contracts/polkaVM-warning.md'
1210

11+
Explore the tools and frameworks available for building and testing smart contracts on the Polkadot network. These environments streamline the development process, from writing and compiling to testing and deploying smart contracts. The guides in this section will help you evaluate each tool's strengths, making it easier to choose the best fit for your project based on complexity, team expertise, and specific requirements.
12+
1313
## What to Consider
1414

1515
Consider the following when evaluating development environments for your workflow:

develop/smart-contracts/dev-environments/remix.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Explore the smart contract development and deployment process on As
55

66
# Remix IDE
77

8+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9+
810
<div class="grid cards" markdown>
911
- :octicons-code-16:{ .lg .middle } __Deploy NFTs Using Remix IDE__
1012

@@ -28,8 +30,6 @@ description: Explore the smart contract development and deployment process on As
2830
!!! warning
2931
The Polkadot Remix IDE's contract compilation functionality is currently limited to Google Chrome. Alternative browsers are not recommended for this task.
3032

31-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
32-
3333
## Overview
3434

3535
Remix IDE is a robust browser-based development environment for smart contracts. This guide will walk you through the essentials of the [Polkadot Remix IDE](https://remix.polkadot.io/){target=\_blank} to understand the processes of compiling, developing, and deploying smart contracts on Asset Hub.

develop/smart-contracts/faqs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Find answers to common questions about smart contract development,
55

66
# Smart Contracts FAQs
77

8+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9+
810
## General Questions
911

1012
### What are the different types of smart contracts I can build on Polkadot?
@@ -35,8 +37,6 @@ Choose a parachain if:
3537

3638
Polkadot Hub uses [PolkaVM](/polkadot-protocol/smart-contract-basics/polkavm-design){target=\_blank} instead of traditional EVM:
3739

38-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
39-
4040
- **Performance**: RISC-V register-based architecture vs. stack-based EVM.
4141
- **Resource metering**: Three dimensions (`ref_time`, `proof_size`, `storage_deposit`) vs. single gas metric.
4242
- **Memory management**: Hard memory limits per contract vs. gas-based soft limits.

develop/smart-contracts/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ template: index-page.html
66

77
# Smart Contracts
88

9+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
10+
911
Polkadot allows scalable execution of smart contracts, offering cross-chain compatibility and lower fees than legacy L1 platforms. Polkadot provides developers with flexibility in building smart contracts, supporting both Solidity contracts executed by the [PolkaVM](/polkadot-protocol/smart-contract-basics/polkavm-design#polkavm){target=\_blank} (a Polkadot-native virtual machine for programming languages that can be compiled down to RISC-V) and EVM (Ethereum Virtual Machine), as well as Wasm-based contracts using ink! (written in Rust).
1012

1113
This section provides tools, resources, and guides for building and deploying smart contracts on parachains. [Parachains](/polkadot-protocol/architecture/parachains/overview/){target=\_blank} are specialized blockchains connected to the relay chain, benefiting from shared security and interoperability. Depending on your language and environment preference, you can develop contracts using Wasm/ink! or EVM-based solutions.
1214

13-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
14-
1515
## Smart Contract Development Process
1616

1717
Follow this step-by-step process to develop and deploy smart contracts in the Polkadot ecosystem:

develop/smart-contracts/json-rpc-apis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: JSON-RPC APIs guide for Polkadot Hub, covering supported methods, p
55

66
# JSON-RPC APIs
77

8+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9+
810
## Introduction
911

1012
Polkadot Hub provides Ethereum compatibility through its JSON-RPC interface, allowing developers to interact with the chain using familiar Ethereum tooling and methods. This document outlines the supported [Ethereum JSON-RPC methods](https://ethereum.org/en/developers/docs/apis/json-rpc/#json-rpc-methods){target=\_blank} and provides examples of how to use them.
@@ -15,8 +17,6 @@ This guide uses the Polkadot Hub TestNet endpoint:
1517
https://testnet-passet-hub-eth-rpc.polkadot.io
1618
```
1719

18-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
19-
2020
## Available Methods
2121

2222
### eth_accounts

develop/smart-contracts/libraries/ethers-js.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ description: Learn how to interact with Polkadot Hub using Ethers.js, from compi
55

66
# Ethers.js
77

8+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
9+
810
## Introduction
911

1012
[Ethers.js](https://docs.ethers.org/v6/){target=\_blank} is a lightweight library that enables interaction with Ethereum Virtual Machine (EVM)-compatible blockchains through JavaScript. Ethers is widely used as a toolkit to establish connections and read and write blockchain data. This article demonstrates using Ethers.js to interact and deploy smart contracts to Polkadot Hub.
1113

1214
This guide is intended for developers who are familiar with JavaScript and want to interact with Polkadot Hub using Ethers.js.
1315

14-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
15-
1616
## Prerequisites
1717

1818
Before getting started, ensure you have the following installed:

develop/smart-contracts/libraries/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ template: index-page.html
66

77
# Libraries
88

9+
--8<-- 'text/smart-contracts/polkaVM-warning.md'
10+
911
Explore the key libraries for interacting with smart contracts on Polkadot-based networks. These libraries simplify contract calls, event listening, and transaction handling.
1012

1113
This section provides setup instructions, usage examples, and a comparison to help you select the right tool for your project.
1214

13-
--8<-- 'text/smart-contracts/polkaVM-warning.md'
14-
1515
## Library Comparison
1616

1717
Consider the following features when choosing a library for your project:

0 commit comments

Comments
 (0)