Skip to content

Conversation

@brunopgalvao
Copy link
Contributor

@brunopgalvao brunopgalvao commented Dec 22, 2025

Summary

  • Add step-by-step guide for bridging assets from Ethereum to Polkadot using ParaSpell XCM SDK and Snowbridge
  • Include mermaid sequence diagram showing the complete bridge flow
  • Add code snippets for token approval, bridge execution, and querying supported assets
  • Include warnings about WETH requirement and foreign asset verification

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:

Test Wallets

Network Address
Ethereum (Sepolia) 0xffb0034DeA8bdE45Df62E957Ad95FA1e6487bB8F
Polkadot Hub Paseo 14zTT2K9YRtEXjv1vjzCevsm1T1LcEqTZnGPd874oJTskk8p

Successful Test Transactions (Ethereum Sepolia)

  1. ERC-20 Approval Transaction

  2. Snowbridge Gateway Transaction

Verified Receipt on Polkadot Hub Paseo

After approximately 30 minutes, the bridged tokens arrived successfully. Queried via Polkadot.js API:

Checking WETH balance for: 14zTT2K9YRtEXjv1vjzCevsm1T1LcEqTZnGPd874oJTskk8p

=== WETH Balance Found! ===
Raw Balance: 300000000000000
Formatted (18 decimals): 0.0003 WETH

The account received 0.0003 WETH total from 3 test transfers of 0.0001 WETH each.

Bridge Flow

  1. Ethereum (Sepolia): User approves Gateway → User calls sendToken on Gateway → Gateway locks WETH and emits OutboundMessageAccepted event
  2. Relayers: Pick up event and relay to Bridge Hub on Polkadot (~30 minutes)
  3. Bridge Hub: Verifies Ethereum consensus proof
  4. Polkadot Hub Paseo: Mints wrapped WETH as foreign asset to destination account

- Add step-by-step guide using ParaSpell SDK and Snowbridge
- Include mermaid diagram showing bridge flow
- Add code snippets for token approval and bridge transfer
- Add getSupportedAssets examples for querying supported routes
- Include warnings about WETH requirement and foreign asset verification
@brunopgalvao brunopgalvao deployed to n8n-receiving December 22, 2025 06:38 — with GitHub Actions Active
@brunopgalvao brunopgalvao self-assigned this Dec 22, 2025
@brunopgalvao brunopgalvao added B0 - Needs Review Pull request is ready for review C1 - Medium Medium priority task A0 - New Content Pull request contains new content pages labels Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A0 - New Content Pull request contains new content pages B0 - Needs Review Pull request is ready for review C1 - Medium Medium priority task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants