Add guide for transferring assets from Ethereum into Polkadot #1354
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Testing
This guide was tested end-to-end using Snowbridge's testnet (Sepolia ↔ Paseo) to verify the implementation works correctly before publishing.
Test Environment
Since ParaSpell SDK officially only supports mainnet, I cloned and patched the SDK to work with testnet for verification:
Patches applied to paraspell/xcm-tools clone:
packages/sdk-pjs/src/ethTransfer/createContext.ts- Changed from hardcoded mainnet to use paseo_sepolia environmentpackages/sdk-pjs/src/ethTransfer/ethTransfer.ts- Added findTokenInEnv() helper to use Snowbridge environment token addressespackages/assets/src/assets/search/findAssetInfoBySymbol.ts- Added support for Sepolia chainId (11155111)packages/assets/src/maps/assets.json- Added Sepolia WETH token entry@snowbridge/apienvironment - Updated RPC endpoints to working Paseo endpointsTest Wallets
0xffb0034DeA8bdE45Df62E957Ad95FA1e6487bB8F14zTT2K9YRtEXjv1vjzCevsm1T1LcEqTZnGPd874oJTskk8pSuccessful Test Transactions (Ethereum Sepolia)
ERC-20 Approval Transaction
0x6a0997b404032fb562fd2c0881898450a5e24cb38cb1c560796de0d3ccc53794Snowbridge Gateway Transaction
0x37de492d9e99ab637a25f205a630d68e1336334b284942571b43208c4f95da890xfff9976782d46cc05630d1f6ebab18b2324d6b14)Verified Receipt on Polkadot Hub Paseo
After approximately 30 minutes, the bridged tokens arrived successfully. Queried via Polkadot.js API:
The account received 0.0003 WETH total from 3 test transfers of 0.0001 WETH each.
Bridge Flow
OutboundMessageAcceptedevent