-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Display xpub for export #144
Comments
The extended public keys for each account within a wallet can be found in the wallet submenu in the top bar when the wallet is open. In the top bar, besides "Overview / <Wallet name>", click the three dots, then Settings, then Watch-only. |
This is a multi-sig wallet with no single-sig accounts, else you would see the xpub for each single-sig account in a "Singlesig Extended Public Keys" section beneath the "Multisig Login" section. Green only has the xprv (extended private key) and corresponding xpub for the multi-sig key-tree derived from the seed phrase that you've given it, but does not have the xprv for the other signing parties (which is just Blockstream in the case of 2-of-2, or are Blockstream and your paper wallet in the case of 2-of-3), as that would defeat the purpose of the multi-sig account. In order to create a watch-only wallet for a multi-sig account, you need each other signing party's xpub. Green does not permit you to get these. Instead, you are only able to watch these wallets in Green, not any other app, as this is a proprietary service provided by Blockstream. You can create an account for watching your wallet by clicking the line item in your screenshot ("Bitcoin: Watch-only disabled") and then log in to this account from any instance of Green that is connected to the internet. See these help articles for more info:
For your tax reporting needs, you can export the transaction list as a CSV (spreadsheet) file by selecting the Transactions tab and then clicking Export on the far-right side of that tab list. If need be, You can do the same for your addresses and UTXOs ("coins") by selecting the corresponding tab and then clicking Export. If you want someone to independently audit your transactions on the blockchain, not just on paper, then you'll need to get the xpub from Blockstream, which I expect they won't be willing to give you (for whatever reason). |
OK thank you for that. I disabled TOR and now see the zpubs, ypubs for all my singlesig wallets, but not the 2/2 wallets. 2/2 are basically just 2FA wallets, so it seems silly not to provide me with the xpub for that one. Overall, the Green experience for me isn't great as it keeps hanging and I have to "force quit" all the time. Bugs? I'll persist for a while longer to see if further iterations resolve these issues. I can as you say create csv files, but these are unfortunately incompatible with my accounting software (Koinly) and so I would have to create them from scratch adding every single transaction. Not fun. |
Hi @Oztayls The Green multisig wallet solution has been around a very long time, predating many of the standards that are now commonly used for wallet interop such as bip44 and its descendants, . During that time, in e.g. 2of2 accounts, we have updated the supported address types from p2sh (*), to p2sh-p2wsh(*), to p2sh-p2wsh-with-csv as the recovery timelock mechanism. Each upgrade offered either lower fees or better privacy for our users. Additionally, for csv addresses we support a range of timelock values each of which creates a unique address. The multisig address types do not use the bip44-style 0/1 change address indicator in the key derivation paths that xpubs are typically expected to. As a result, its not possible to create an xpub or descriptor that would allow monitoring these wallets in watch-only mode in other software; xpubs only handle one derivation pattern, and the number of potential address combinations is simply too high, requiring multiple xpubs each with non-standard handling to represent a wallet. No commonly used wallets I'm aware of offer support for viewing or collating a collection of non-standard xpubs as a single wallet. In Green multisig we do offer a rich watch-only experience which has read-only access to your subaccount names and transaction notes, encrypted to your wallet and not visible to the Green backend. When viewing or exporting your transaction list, this allows you to annotate the transactions from your full session making them clearer to distinguish from each other. You may find this helpful for documentation purposes. (*) With recovery via emailed nlocktime transactions. |
Thanks for the great explanation, that's a great help to understanding how things work under the bonnet. I'm sure others will find this information useful. |
@Oztayls would be great if you could create an issue detailing the steps to reproduce those hangs. |
The xpub address is needed for accounting software to import data for tax purposes. Currently the xpub is only generated as an animated QR code on Jade but most software cannot import from QR codes. (Both desktop and smartphone app versions). Either that or some workaround that can generate the xpub from the QR code.
The text was updated successfully, but these errors were encountered: