Bridging the Gap: eCash & THORChain

A technical dive into Tonalli Wallet's Proof of Concept for XEC interoperability

Research Tonalli Wallet THORChain XEC

The XolosArmy Network is excited to share the latest research from the Tonalli Wallet team. We have been actively exploring how eCash (XEC) could potentially interface with the THORChain ecosystem. To test these waters, our team has developed a wallet-side Proof of Concept (PoC) repository designed to map out the user experience, transaction flows, and architectural requirements for a future integration.

Important Scope Boundary: This PoC focuses purely on wallet-side architecture and UX. It does not imply that native XEC support currently exists within the THORChain state machine, nor does it include a live production bridge for XEC.

What Does the Wallet-Side PoC Accomplish?

Building a seamless cross-chain experience requires robust wallet architecture before the protocol-level bridge is even finalized. Our PoC tackles several crucial workstreams:

User Safety First: The QuoteInspector

Cross-chain swaps can be complex, and protecting users from failed transactions or network rejections is a top priority for Tonalli Wallet. The QuoteInspector normalizes THORChain's complex data into a digestible format and applies strict pre-sign validations.

Before a transaction is ever built, the wallet automatically checks for:

// Example output from Tonalli's Normalized Quote "isViable": true, "targetVaultAddress": "bc1q...", "opReturnMemo": "=:e:0x86d5...:0/1/0", "recommendedGasRate": "6"

Conceptualizing the User Experience

Once protocol-level support is achieved, the user experience needs to be intuitive. The PoC outlines a conceptual UI mockup for Tonalli Wallet where users can easily select their source asset, view available balances, and see the estimated output and destination address before executing a swap.

Reaching Out to the THORChain Community

Open-source development thrives on collaboration. To ensure our architecture aligns with THORChain's best practices, the Tonalli Wallet team has officially reached out to core THORChain contributors.

Recently, we contacted Chad Barraford (@CBarraford) from the THORChain ecosystem to share our wallet-side PoC repository. We are seeking technical feedback on our initial UTXO/OP_RETURN gap analysis and routing paths as we prepare for the next step: exploring the chain-level requirements for a Bifrost client implementation.

Looking Ahead: Workstream B

While Workstream A (the wallet PoC) proves the UX and data flow is viable, Workstream B is where the heavy lifting happens. This involves chain-level research, including an eCash chain-client requirements analysis, UTXO compatibility verification, and a gap analysis for a future Bifrost integration.

Stay tuned to the XolosArmy Network as we continue to push the boundaries of what eCash can do in the decentralized finance space!

← Go to xolosArmy Network