Skip to content

Commit 46fee59

Browse files
committed
fresh llms
1 parent f9cfbfb commit 46fee59

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

llms.txt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17108,14 +17108,14 @@ description: Remote proxies enable cross-chain proxy functionality within the Po
1710817108

1710917109
## Introduction
1711017110

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.
1711217112

1711317113
This guide covers:
1711417114

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.
1711917119

1712017120
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.
1712117121

@@ -17145,16 +17145,16 @@ The verification process utilizes [Merkle proofs](/polkadot-protocol/glossary/#t
1714517145

1714617146
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.
1714717147

17148-
1. **Block Synchronization** - Query the target chain for recognized source chain blocks
17149-
2. **Storage Proof Creation** - Generate cryptographic proof of proxy relationship
17150-
3. **Transaction Construction** - Build the wrapped transaction with proof data
17151-
4. **Execution** - Submit the transaction before proof expiration
17148+
1. **Block Synchronization**: Query the target chain for recognized source chain blocks.
17149+
2. **Storage Proof Creation**: Generate cryptographic proof of proxy relationship.
17150+
3. **Transaction Construction**: Build the wrapped transaction with proof data.
17151+
4. **Execution**: Submit the transaction before proof expiration.
1715217152

1715317153
Remote proxies operate under strict timing limitations.
1715417154

17155-
- **Proof Validity**: Storage proofs expire after approximately **1 minute**
17156-
- **Block Recognition**: Target chains maintain only recent source chain block roots
17157-
- **Execution Window**: Transactions must be submitted immediately after proof generation
17155+
- **Proof Validity**: Storage proofs expire after approximately **1 minute**.
17156+
- **Block Recognition**: Target chains maintain only recent source chain block roots.
17157+
- **Execution Window**: Transactions must be submitted immediately after proof generation.
1715817158

1715917159
These constraints exist to prevent replay attacks and ensure proof freshness while maintaining system security.
1716017160

@@ -17170,10 +17170,10 @@ These constraints exist to prevent replay attacks and ensure proof freshness whi
1717017170

1717117171
Before implementing remote proxies, ensure you have:
1717217172

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.
1717717177

1717817178
### Installation and Setup
1717917179

@@ -17277,12 +17277,12 @@ async function executeRemoteProxyTransaction() {
1727717277
executeRemoteProxyTransaction();
1727817278
```
1727917279

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.
1728117281

1728217282
The code snippet above is a complete implementation example of a remote proxy transaction. It demonstrates how to:
1728317283

1728417284
- **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.
1728617286
- **Proof Creation**: The `getReadProof` RPC call generates a cryptographic proof that specific data exists in Kusama's state at a given block height.
1728717287
- **Transaction Wrapping**: The target transaction is wrapped within a `remoteProxy` call that includes both the proof data and the block anchor.
1728817288

0 commit comments

Comments
 (0)