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:
Xverse: