Closed Mazowiecki closed 1 year ago
Hi, 👋🏻 Hiro Wallet was trying this out and it wasn’t really an official API yet. cc @yknl Maybe Xverse can easily add the same field Also, we’re collaborating with different wallet and working on new standards for requesting accounts, since the current solutions aren’t very clean. Hope to have more updates soon
@Mazowiecki I'll close this for now based on @janniks's answer. Thank you for filing!
Hello, I'm using this package to gather Bitcoin addresses. Hiro Wallet works fine but it's not with Xverse Wallet.
This is the code that shows the modal where the user can pick a wallet and it returns Its address. Is there maybe an option to not show Xverse wallet on this modal?
export const getWalletAddress = (onSuccess: (key: string) => void): void => { const userSession = new UserSession(); showConnect({ appDetails, onFinish: () => { onSuccess(userSession.loadUserData()?.profile?.btcAddress?.p2tr?.mainnet || ''); }, userSession }); };
Hiro:![Zrzut ekranu 2023-07-18 o 17 53 46](https://github.com/hirosystems/connect/assets/29356602/2b67182a-2b2d-466d-a749-1825af3606fb)
Xverse: