# Converting ckbtc to btc

**URL:** <https://forum.dfinity.org/t/converting-ckbtc-to-btc/33954>\
**Category:** Rust\
**Created:** [August 7, 2024, 5:44am UTC](https://forum.dfinity.org/t/converting-ckbtc-to-btc/33954 "2024-08-07T05:44:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shreyamahajan456](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/shreyamahajan456/32/19456_2.png) [@shreyamahajan456](https://forum.dfinity.org/u/shreyamahajan456)\
**Post date:** [August 7, 2024, 5:44am UTC](https://forum.dfinity.org/t/converting-ckbtc-to-btc/33954/1 "2024-08-07T05:44:24Z")

</div>

Hi everyone,

I’m working on a project with Rust as the backend and React as the frontend in the Internet Computer Protocol (ICP) ecosystem. I need some guidance on the following:

1. Are there any packages or wallets that support ICP canisters and can convert:  
a. ETH to ckETH and vice versa  
b. BTC to ckBTC and vice versa

Your insights and recommendations would be incredibly valuable and much appreciated. Looking forward to any tips, tricks, or experiences you can share to help.

Thank you so much!

---

<div class="post-metadata">

**Author:** ![b3hr4d](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/b3hr4d/32/9755_2.png) [@b3hr4d](https://forum.dfinity.org/u/b3hr4d)\
**Post date:** [August 7, 2024, 8:00am UTC](https://forum.dfinity.org/t/converting-ckbtc-to-btc/33954/2 "2024-08-07T08:00:57Z")

</div>

Hi Shreya, welcome to the community!

For your project involving converting between ckBTC and BTC, as well as ckETH and ETH, you might find the following example useful:

[![](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/3X/5/9/59e19855ecd263aa49c62d1fac0c7cbee3f1bb2b.jpeg "Simple btc intraction on ICP with @ic-reactor") ](https://www.youtube.com/watch?v=r-J6eWcfmOQ)

I have created a ckBTC wallet using `ic-reactor/react`. You can check it out here:

> [@Introduction @ic-reactor/react for React Developers](https://forum.dfinity.org/t/introduction-ic-reactor-react-for-react-developers/27930/27):
>
> I’ve created a new example called ckBTC Wallet! This example demonstrates how to integrate with the ckBTC ledger and minter to retrieve BTC. Check out the demo video: [[Simple btc intraction on ICP with @ic-reactor] ](https://www.youtube.com/watch?v=r-J6eWcfmOQ)You can find the source code on GitHub: [ckBTC Wallet Code](https://github.com/B3Pay/ic-reactor/tree/main/examples/ckbtc-wallet)Key Component: MinterRetrieveBTC This hooks handles the retrieval of BTC by interacting with the ckBTC ledger and minter. Here are the main parts of the component: const { call: refetchBalance, data: balance, …

The process for ckETH is very similar. For such simple conversions, you don’t necessarily need a backend. The frontend can handle interactions with the canisters effectively.

Let me know if you have any more questions or need further assistance!

---

<div class="post-metadata">

**Author:** ![laughtt](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/laughtt/32/19402_2.png) [@laughtt](https://forum.dfinity.org/u/laughtt)\
**Post date:** [August 7, 2024, 8:26am UTC](https://forum.dfinity.org/t/converting-ckbtc-to-btc/33954/3 "2024-08-07T08:26:56Z")

</div>

Is there any ckUSDT ?
