Nuno
1
Hey everyone,
Quick question:
Does anyone know if there is open-source code for:
-
BTC login integration for Internet Computer apps (i.e. UniSat )?
-
A simple flow to swap BTC (↔) ckBTC after login?
Before I start building my own, I wanted to check if someone has already published these components.
Thanks!
Nuno
1 Like
You don’t need connect your wallet to mint ckBTC, you just need a principal id to mint ckBTC. There is two approaches
- Derive a BTC address from ICP’s wallet principal
This approach is easy, wallet already have UI to manage token
- Connect BTC wallet
I believe this approach implement by odin.fun. It is more complicated because you have to manage a identity provider and adding wallet UI for ckBTC
2 Likes