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: llms.txt
+18-18Lines changed: 18 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -17108,14 +17108,14 @@ description: Remote proxies enable cross-chain proxy functionality within the Po
17108
17108
17109
17109
## Introduction
17110
17110
17111
-
Remote proxies enable cross-chain proxy functionality within the Polkadot ecosystem, allowing proxy accounts defined on one chain to execute transactions on different chains through cryptographic storage proofs. This extends the traditional [proxy system](https://wiki.polkadot.com/learn/learn-proxies/){target=\_blank} beyond single-chain boundaries.
17111
+
Remote proxies enable cross-chain proxy functionality within the Polkadot ecosystem, allowing proxy accounts defined on one chain to execute transactions on different chains through cryptographic storage proofs. This functionality extends the traditional [proxy system](https://wiki.polkadot.com/learn/learn-proxies/){target=\_blank} beyond single-chain boundaries.
17112
17112
17113
17113
This guide covers:
17114
17114
17115
-
- Understanding remote proxy mechanics and architecture
17116
-
- Implementation workflow and timing constraints
17117
-
- Practical examples using Polkadot.js
17118
-
- Advanced use cases and security considerations
17115
+
- Understanding remote proxy mechanics and architecture.
17116
+
- Implementation workflow and timing constraints.
17117
+
- Practical examples using Polkadot.js.
17118
+
- Advanced use cases and security considerations.
17119
17119
17120
17120
Remote proxies are particularly valuable for maintaining unified security models across multiple parachains while avoiding the complexity of managing separate proxy setups on each chain.
17121
17121
@@ -17145,16 +17145,16 @@ The verification process utilizes [Merkle proofs](/polkadot-protocol/glossary/#t
17145
17145
17146
17146
Remote proxy execution follows a time-constrained workflow requiring coordination between multiple chains. The remote proxy workflow consists of several critical steps that must be completed within a narrow time window.
17147
17147
17148
-
1. **Block Synchronization** - Query the target chain for recognized source chain blocks
- **Execution Window**: Transactions must be submitted immediately after proof generation.
17158
17158
17159
17159
These constraints exist to prevent replay attacks and ensure proof freshness while maintaining system security.
17160
17160
@@ -17170,10 +17170,10 @@ These constraints exist to prevent replay attacks and ensure proof freshness whi
17170
17170
17171
17171
Before implementing remote proxies, ensure you have:
17172
17172
17173
-
- Active proxy relationship on the source chain (Kusama)
17174
-
- Access to both source and target chain RPC endpoints
17175
-
- Compatible proxy types between chains
17176
-
- Node.js environment for script execution
17173
+
- Active proxy relationship on the source chain (Kusama).
17174
+
- Access to both source and target chain RPC endpoints.
17175
+
- Compatible proxy types between chains.
17176
+
- Node.js environment for script execution.
17177
17177
17178
17178
### Installation and Setup
17179
17179
@@ -17277,12 +17277,12 @@ async function executeRemoteProxyTransaction() {
17277
17277
executeRemoteProxyTransaction();
17278
17278
```
17279
17279
17280
-
Ensure to replace the `RECIPIENT_ACCOUNT` and `PROXIED_ACCOUNT` with your own accounts. For a concrete example, check out the [Sending a remote proxy transaction via Polkadot-JS](https://blog.kchr.de/polkadot/guides/remote-proxies-for-the-braves/#sending-a-remote-proxy-transaction-via-polkadot-js){target=\_blank} section in the Remote Proxies article.
17280
+
Ensure to replace the `RECIPIENT_ACCOUNT` and `PROXIED_ACCOUNT` with your accounts. For a concrete example, check out the [Sending a remote proxy transaction via Polkadot-JS](https://blog.kchr.de/polkadot/guides/remote-proxies-for-the-braves/#sending-a-remote-proxy-transaction-via-polkadot-js){target=\_blank} section in the Remote Proxies article.
17281
17281
17282
17282
The code snippet above is a complete implementation example of a remote proxy transaction. It demonstrates how to:
17283
17283
17284
17284
- **Storage Key Generation**: The `proxyStorageKey` identifies where proxy relationship data is stored on Kusama. This key is used to create a proof that the relationship exists.
17285
-
- **Block Synchronization**: Asset Hub maintains a mapping of recent Kusama block numbers to their storage roots. This enables proof verification without requiring full blockchain synchronization.
17285
+
- **Block Synchronization**: Asset Hub maintains a mapping of recent Kusama block numbers to their storage roots to enable proof verification without requiring full blockchain synchronization.
17286
17286
- **Proof Creation**: The `getReadProof` RPC call generates a cryptographic proof that specific data exists in Kusama's state at a given block height.
17287
17287
- **Transaction Wrapping**: The target transaction is wrapped within a `remoteProxy` call that includes both the proof data and the block anchor.
0 commit comments