Skip to content

Commit ee26a84

Browse files
committed
fix: clean up
1 parent 7276c04 commit ee26a84

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

develop/smart-contracts/precompiles/xcm-precompiles.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

llms.txt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Doc-Page: https://docs.polkadot.com/develop/smart-contracts/overview/
5858
Doc-Page: https://docs.polkadot.com/develop/smart-contracts/precompiles/
5959
Doc-Page: https://docs.polkadot.com/develop/smart-contracts/precompiles/interact-with-precompiles/
6060
Doc-Page: https://docs.polkadot.com/develop/smart-contracts/precompiles/xcm-precompile/
61-
Doc-Page: https://docs.polkadot.com/develop/smart-contracts/precompiles/xcm-precompiles/
6261
Doc-Page: https://docs.polkadot.com/develop/smart-contracts/wallets/
6362
Doc-Page: https://docs.polkadot.com/develop/toolkit/api-libraries/dedot/
6463
Doc-Page: https://docs.polkadot.com/develop/toolkit/api-libraries/
@@ -12629,19 +12628,6 @@ Whether you're building DeFi protocols, governance systems, or any application r
1262912628
The XCM precompile provides a powerful interface for cross-chain interactions within the Polkadot ecosystem. By understanding how to properly encode messages, estimate weights, and execute or send XCM instructions, developers can build sophisticated cross-chain applications that leverage the full potential of Polkadot's interoperability features.
1263012629
--- END CONTENT ---
1263112630

12632-
Doc-Content: https://docs.polkadot.com/develop/smart-contracts/precompiles/xcm-precompiles/
12633-
--- BEGIN CONTENT ---
12634-
## Interact with the XCM Precompile
12635-
12636-
To interact with the XCM precompile using Remix IDE:
12637-
12638-
1. **Copy the IXcm Interface**: Grab the IXcm interface definition (provided above) and paste it into a new Solidity file named `IXcm.sol` in Remix.
12639-
2. **Set the Precompile Address**: In Remix, go to the "Deploy & Run Transactions" plugin, and in the "At Address" field, enter the precompile address: `0x00000000000000000000000000000000000a0000`.
12640-
3. **Interact with the Precompile**: Click the "At Address" button. Remix will now allow you to interact directly with the XCM precompile contract using the functions defined in the IXcm interface.
12641-
12642-
You can now call the `execute`, `send`, and `weighMessage` functions on the XCM precompile from Remix, using properly encoded parameters as described in this guide.
12643-
--- END CONTENT ---
12644-
1264512631
Doc-Content: https://docs.polkadot.com/develop/smart-contracts/wallets/
1264612632
--- BEGIN CONTENT ---
1264712633
---

0 commit comments

Comments
 (0)