Skip to content

Commit 3d31131

Browse files
committed
script clean up, fresh llms
1 parent 8c8be6c commit 3d31131

File tree

67 files changed

+4405
-202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+4405
-202
lines changed

.ai/categories/smart-contracts.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,48 @@ Launch your parachain locally and start producing blocks:
474474
</div>
475475

476476

477+
---
478+
479+
Page Title: Block Explorers
480+
481+
- Source (raw): https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/master/.ai/pages/develop-smart-contracts-block-explorers.md
482+
- Canonical (HTML): https://docs.polkadot.com/develop/smart-contracts/block-explorers/
483+
- Summary: Access PolkaVM explorers like Subscan, BlockScout, and Routescan to track transactions, analyze contracts, and view on-chain data from smart contracts.
484+
485+
# Block Explorers
486+
487+
!!! smartcontract "PolkaVM Preview Release"
488+
PolkaVM smart contracts with Ethereum compatibility are in **early-stage development and may be unstable or incomplete**.
489+
## Introduction
490+
491+
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.
492+
493+
## Core Functionality
494+
495+
These block explorers provide essential capabilities for interacting with smart contracts in Polkadot Hub:
496+
497+
- **Transaction tracking**: Monitor transaction status, confirmations, fees, and metadata.
498+
- **Address analysis**: View account balances, transaction history, and associated contracts.
499+
- **Block information**: Examine block contents.
500+
- **Smart contract interaction**: Review contract code, verification status, and interaction history.
501+
- **Token tracking**: Monitor ERC-20, ERC-721, and other token standards with transfer history and holder analytics.
502+
- **Network statistics**: Access metrics on transaction volume, gas usage, and other network parameters.
503+
504+
## Available Block Explorers
505+
506+
The following block explorers are available for PolkaVM smart contracts, providing specialized tools for monitoring and analyzing contract activity within the Polkadot ecosystem:
507+
508+
509+
510+
### BlockScout
511+
512+
BlockScout is an open-source explorer platform with a user-friendly interface adapted for PolkaVM contracts. It excels at detailed contract analytics and provides developers with comprehensive API access.
513+
514+
- [Polkadot Hub TestNet BlockScout](https://blockscout-passet-hub.parity-testnet.parity.io/){target=\_blank}
515+
516+
![](/images/develop/smart-contracts/block-explorers/block-explorers-2.webp)
517+
518+
477519
---
478520

479521
Page Title: Blocks

.ai/categories/tooling.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,48 @@ Launch your parachain locally and start producing blocks:
474474
</div>
475475

476476

477+
---
478+
479+
Page Title: Block Explorers
480+
481+
- Source (raw): https://raw.githubusercontent.com/polkadot-developers/polkadot-docs/master/.ai/pages/develop-smart-contracts-block-explorers.md
482+
- Canonical (HTML): https://docs.polkadot.com/develop/smart-contracts/block-explorers/
483+
- Summary: Access PolkaVM explorers like Subscan, BlockScout, and Routescan to track transactions, analyze contracts, and view on-chain data from smart contracts.
484+
485+
# Block Explorers
486+
487+
!!! smartcontract "PolkaVM Preview Release"
488+
PolkaVM smart contracts with Ethereum compatibility are in **early-stage development and may be unstable or incomplete**.
489+
## Introduction
490+
491+
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.
492+
493+
## Core Functionality
494+
495+
These block explorers provide essential capabilities for interacting with smart contracts in Polkadot Hub:
496+
497+
- **Transaction tracking**: Monitor transaction status, confirmations, fees, and metadata.
498+
- **Address analysis**: View account balances, transaction history, and associated contracts.
499+
- **Block information**: Examine block contents.
500+
- **Smart contract interaction**: Review contract code, verification status, and interaction history.
501+
- **Token tracking**: Monitor ERC-20, ERC-721, and other token standards with transfer history and holder analytics.
502+
- **Network statistics**: Access metrics on transaction volume, gas usage, and other network parameters.
503+
504+
## Available Block Explorers
505+
506+
The following block explorers are available for PolkaVM smart contracts, providing specialized tools for monitoring and analyzing contract activity within the Polkadot ecosystem:
507+
508+
509+
510+
### BlockScout
511+
512+
BlockScout is an open-source explorer platform with a user-friendly interface adapted for PolkaVM contracts. It excels at detailed contract analytics and provides developers with comprehensive API access.
513+
514+
- [Polkadot Hub TestNet BlockScout](https://blockscout-passet-hub.parity-testnet.parity.io/){target=\_blank}
515+
516+
![](/images/develop/smart-contracts/block-explorers/block-explorers-2.webp)
517+
518+
477519
---
478520

479521
Page Title: Blocks
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
title: XCMv5
3+
description: Explore XCM version 5 features, including new instructions, improved fee handling, and enhanced cross-chain communication capabilities for modern applications.
4+
url: https://docs.polkadot.com/develop/interoperability/versions/v5/
5+
---
6+
7+
# XCM V5
8+
9+
The latest iteration of XCM is version 5. The main RFCs defining the changes in version 5 are the following:
10+
11+
- [Legacy #37 - SetAssetClaimer](https://github.com/polkadot-fellows/xcm-format/blob/master/proposals/0037-custom-asset-claimer.md){target=\_blank}
12+
- [Legacy #38 - ExecuteWithOrigin](https://github.com/polkadot-fellows/xcm-format/blob/master/proposals/0038-execute-with-origin.md){target=\_blank}
13+
- [#100 - InitiateTransfer instruction](https://github.com/polkadot-fellows/RFCs/pull/100){target=\_blank}
14+
- [#101 - Remove weight from Transact](https://github.com/polkadot-fellows/RFCs/pull/101){target=\_blank}
15+
- [#105 - Improved fee mechanism](https://github.com/polkadot-fellows/RFCs/pull/105){target=\_blank}
16+
- [#107 - Execution hints](https://github.com/polkadot-fellows/RFCs/pull/107){target=\_blank}
17+
- [#108 - Remove testnet network ids](https://github.com/polkadot-fellows/RFCs/pull/108){target=\_blank}
18+
- [#122 - InitiateTransfer origin preservation](https://github.com/polkadot-fellows/RFCs/pull/122){target=\_blank}
19+
20+
!!! note "What are Legacy RFCs?"
21+
22+
The first two RFCs are legacy ones from when XCM RFCs were separate from the Polkadot Technical Fellowship RFCs. As part of the XCM V5 specification, these two were combined since the Polkadot Technical Fellowship Manifesto specifies XCM as part of its mandate.
23+
24+
Version 5 addresses key pain points that developers faced in previous versions:
25+
26+
- **Before XCM V5**
27+
- Cross-chain transfers were limited to only one transfer type, requiring multiple different XCMs to send the entirety of the tokens.
28+
- Fee management across multiple hops was extremely complicated to get right, particularly because of delivery fees.
29+
- Cross-chain transfers cleared the origin, making it impossible to [`Transact`](https://paritytech.github.io/polkadot-sdk/master/staging_xcm/v4/enum.Instruction.html#variant.Transact){target=\_blank} in the same XCM as a transfer.
30+
- Claiming trapped assets when transfers failed was troublesome, most of the time requiring governance to intervene.
31+
- Having to specify the weight for `Transact` was brittle.
32+
- **After XCM V5**
33+
- A unified cross-chain transfer instruction handles all possible transfer types and allows multiple ones in the same XCM.
34+
- The fee payment mechanism has been standardized to handle multiple types of fees, making fees much more predictable.
35+
- It's now possible to preserve the origin during a cross-chain transfer, enabling the use of `Transact` in the same XCM as the transfer.
36+
- A custom asset claimer can be set, reducing the need for governance to intervene for claiming trapped assets.
37+
- `Transact` no longer needs to specify the weight of the call, reducing the errors in cross-chain interactions.
38+
39+
This section aims to give you all the changes in this new version you need to make the most of the latest and greatest in cross-chain interactions.
40+
41+
## In This Section
42+
43+
:::INSERT_IN_THIS_SECTION:::
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: XCM Versions
3+
description: Explore the different versions of XCM, understand version-specific features and capabilities, and find migration guides for upgrading between versions.
4+
url: https://docs.polkadot.com/develop/interoperability/versions/
5+
---
6+
7+
# XCM Versions
8+
9+
XCM is a versioned language that evolves to meet the growing needs of cross-chain communication in the Polkadot ecosystem. Understanding XCM versioning is essential for developers building interoperable applications to keep up with the latest improvements.
10+
11+
New versions are defined via [Polkadot Fellowship RFCs](https://github.com/polkadot-fellows/rfcs){target=\_blank}, ensuring each iteration is thoroughly reviewed. This entire documentation uses _XCM V5_ as the primary reference, which is the current stable version.
12+
13+
Each new version introduces new functionality while maintaining backward compatibility where possible. By understanding version differences, you can make informed decisions about which features to use and how to future-proof your applications.
14+
15+
## In This Section
16+
17+
:::INSERT_IN_THIS_SECTION:::
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: From Apps
3+
description: Learn how to implement XCM functionality in your applications, including asset transfers, fee management, and cross-chain transactions.
4+
url: https://docs.polkadot.com/develop/interoperability/xcm-guides/from-apps/
5+
---
6+
7+
# From Apps
8+
9+
This section shows how to interact with XCM from applications, providing practical guidance for implementing cross-chain functionality in your dApps and services.
10+
11+
Whether you're building a DeFi application that needs to transfer assets between chains, a cross-chain governance system, or any application requiring interoperability, these guides cover the essential patterns and best practices for working with XCM from an application perspective.
12+
13+
## In This Section
14+
15+
:::INSERT_IN_THIS_SECTION:::
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: XCM Guides
3+
description: Comprehensive guides for implementing XCM functionality in applications and understanding cross-chain interactions.
4+
url: https://docs.polkadot.com/develop/interoperability/xcm-guides/
5+
---
6+
7+
# XCM Guides
8+
9+
This section provides comprehensive guides for implementing XCM functionality, including application development patterns, fee management, asset transfers, and cross-chain transaction handling.
10+
11+
Whether you're building applications that need to interact with multiple chains, managing cross-chain fees, or handling complex asset transfers, these guides offer practical solutions and best practices for implementing XCM functionality in your projects.
12+
13+
## In This Section
14+
15+
:::INSERT_IN_THIS_SECTION:::
16+
17+
## Additional Resources
18+
19+
<div class="subsection-wrapper">
20+
<div class="card">
21+
<a href="/develop/interoperability/send-messages/">
22+
<h2 class="title">Send XCM Messages</h2>
23+
<hr>
24+
<p class="description">Learn the fundamentals of sending cross-chain messages using XCM, including message structure, routing, and execution patterns.</p>
25+
</a>
26+
</div>
27+
<div class="card">
28+
<a href="/develop/interoperability/xcm-config/">
29+
<h2 class="title">XCM Configuration</h2>
30+
<hr>
31+
<p class="description">Learn how to configure XCM for your chain.</p>
32+
</a>
33+
</div>
34+
<div class="card">
35+
<a href="/develop/interoperability/test-and-debug/">
36+
<h2 class="title">Test and Debug</h2>
37+
<hr>
38+
<p class="description">Learn how to test and debug cross-chain communication via the XCM Emulator to ensure interoperability and reliable execution.</p>
39+
</a>
40+
</div>
41+
<div class="card">
42+
<a href="/develop/interoperability/xcm-channels/">
43+
<h2 class="title">XCM Channels</h2>
44+
<hr>
45+
<p class="description">Learn how to configure XCM channels for your chain.</p>
46+
</a>
47+
</div>
48+
</div>
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Interoperability
3+
description: Learn how Polkadot enables blockchain interoperability through Cross-Consensus Messaging (XCM), powering secure cross-chain communication.
4+
url: https://docs.polkadot.com/develop/interoperability/
5+
---
6+
7+
# Interoperability
8+
9+
This section covers everything you need to know about building and implementing [Cross-Consensus Messaging (XCM)](/develop/interoperability/intro-to-xcm/){target=\_blank} solutions in the Polkadot ecosystem. Whether you're working on establishing cross-chain channels, sending and receiving XCM messages, or testing and debugging your cross-chain configurations, you'll find the essential resources and tools here to support your interoperability needs, regardless of your development focus.
10+
11+
- Not sure where to start? Visit the [Interoperability](/polkadot-protocol/parachain-basics/interoperability/){target=\_blank} overview page to explore different options and find the right fit for your project.
12+
- Ready to dive in? Head over to [Send XCM Messages](/develop/interoperability/send-messages/) to learn how to send a message cross-chain via XCM.
13+
14+
## In This Section
15+
16+
:::INSERT_IN_THIS_SECTION:::
17+
18+
## Additional Resources
19+
20+
<div class="subsection-wrapper">
21+
<div class="card">
22+
<a href="https://paritytech.github.io/polkadot-sdk/master/xcm_docs/index.html" target="_blank">
23+
<h2 class="title">Review the Polkadot SDK's XCM Documentation</h2>
24+
<hr>
25+
<p class="description">Dive into the official documentation to learn about the key components for supporting XCM in your parachain and enabling seamless cross-chain communication.</p>
26+
</a>
27+
</div>
28+
<div class="card">
29+
<a href="/tutorials/interoperability/">
30+
<h2 class="title">Follow Step-by-Step Tutorials</h2>
31+
<hr>
32+
<p class="description">Enhance your XCM skills with step-by-step tutorials on building interoperability solutions on Polkadot SDK-based blockchains.</p>
33+
</a>
34+
</div>
35+
<div class="card">
36+
<a href="https://github.com/polkadot-fellows/xcm-format" target="_blank">
37+
<h2 class="title">Familiarize Yourself with the XCM Format</h2>
38+
<hr>
39+
<p class="description">Gain a deeper understanding of the XCM format and structure, including any extra data it may need and what each part of a message means.</p>
40+
</a>
41+
</div>
42+
<div class="card">
43+
<a href="/develop/toolkit/interoperability/">
44+
<h2 class="title">Essential XCM Tools</h2>
45+
<hr>
46+
<p class="description">Explore essential tools for creating and integrating cross-chain solutions within the Polkadot ecosystem.</p>
47+
</a>
48+
</div>
49+
</div>
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
title: Customize Your Parachain
3+
description: Learn to build a custom parachain with Polkadot SDK's FRAME framework, which includes pallet development, testing, smart contracts, and runtime customization.
4+
url: https://docs.polkadot.com/develop/parachains/customize-parachain/
5+
---
6+
7+
# Customize Your Parachain
8+
9+
Learn how to build a custom parachain with Polkadot SDK's FRAME framework, which includes pallet development, testing, smart contracts, and runtime customization. Pallets are modular components within the FRAME ecosystem that contain specific blockchain functionalities. This modularity grants developers increased flexibility and control around which behaviors to include in the core logic of their parachain.
10+
11+
The [FRAME directory](https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506-2/substrate/frame){target=\_blank} includes a robust library of pre-built pallets you can use as examples or templates to ease development.
12+
13+
## In This Section
14+
15+
:::INSERT_IN_THIS_SECTION:::
16+
17+
## Additional Resources
18+
19+
<div class="subsection-wrapper">
20+
<div class="card">
21+
<a href="https://github.com/paritytech/polkadot-sdk/tree/polkadot-stable2506-2/substrate/frame" target="_blank">
22+
<h2 class="title">FRAME Repository</h2>
23+
<hr>
24+
<p class="description">View the source code of the FRAME development environment that provides pallets you can use, modify, and extend to build the runtime logic to suit the needs of your blockchain.</p>
25+
</a>
26+
</div>
27+
<div class="card">
28+
<a href="https://paritytech.github.io/polkadot-sdk/master/polkadot_sdk_docs/polkadot_sdk/frame_runtime/index.html" target="_blank">
29+
<h2 class="title">FRAME Rust docs</h2>
30+
<hr>
31+
<p class="description">Check out the Rust documentation for FRAME, Substrate's preferred framework for building runtimes.</p>
32+
</a>
33+
</div>
34+
<div class="card">
35+
<a href="https://libro.blockdeep.dev/index.html" target="_blank">
36+
<h2 class="title">Polkadot SDK Best Practices</h2>
37+
<hr>
38+
<p class="description">Understand and address common issues that can arise in blockchain development when building with the Polkadot SDK.</p>
39+
</a>
40+
</div>
41+
</div>

0 commit comments

Comments
 (0)