Hello DFINITY Community,
I hope you’re all doing well. I’m seeking your advice on the best way to approach a specific integration challenge. I work for Cero Trade, and we’re trying to facilitate cross-chain payments between Internet Computer (ICP) and Ethereum (ETH) to integrate with Koywe and its Fireblocks-based payment gateway.
Problem Description
We need to convert ICP to ETH to enable seamless cross-chain payments via Koywe, which uses Fireblocks. Currently, our platform operates entirely on the Internet Computer, and we aim to offer payments in Ethereum-based tokens via Koywe.
Why Koywe?
It charges less per transaction than AlchemyPay and is available in LATAM countries, where we operate. If anyone thinks of a better idea to allow for web2/other crypto payment in the platform, it is also welcome.
Key Considerations:
- Minimize transaction fees.
- Simplify the development and maintenance process.
- Ensure secure cross-chain transactions.
Current Options Being Considered
I’ve explored a few ways to achieve this and identified the following options:
1. Using Wrapped ICP (WICP) via Terabethia Bridge
- Steps:
- Convert ICP to WICP using the Psychedelic WICP canister.
- Use Terabethia Bridge to convert WICP to an ERC-20 token on Ethereum.
- Swap the ERC-20 WICP for ETH on Uniswap or another DEX.
- Transfer ETH to Koywe for payments via Fireblocks.
- Pros:
- Leverages existing standards like DIP20 and ERC-20.
- Allows seamless integration with Ethereum-based DEXs.
- Cons:
- Multiple conversion steps.
- High fees due to Ethereum’s gas costs.
2. Using Bfinity Network (InfinitySwap)
- Steps:
- Register on Bfinity Network.
- Convert ICP to ckBTC (Chain-Key BTC) or tokens ERC-20 via Bfinity.
- Swap ckBTC or ERC-20 tokens to ETH using the DEXs on Bfinity.
- Transfer ETH to Koywe for payments via Fireblocks.
- Pros:
- Direct cross-chain integration.
- Simplifies the conversion process.
- Cons:
- Limited DEX liquidity.
- Still involves multiple conversion steps.
3. Something similar to the post below
Request for Feedback
I’m reaching out to the community to gather insights on the best way to approach this conversion process while minimizing costs and maximizing efficiency. Specifically, I’m interested in:
- Alternative Approaches: Any alternative ways to achieve this conversion more efficiently.
- Optimization Tips: Ways to optimize the options mentioned above.
- Security Considerations: Potential security risks and mitigation strategies.
Thank you all in advance for your advice and suggestions.