Add wallet RPC to get new taproot address from a silent payment address #31258

issue 1440000bytes openend this issue on November 8, 2024
  1. 1440000bytes commented at 6:13 pm on November 8, 2024: none

    Please describe the feature you’d like to see added.

    RPC that allows generating addresses from a given silent payment address.

    This RPC could help application developers that use bitcoin core RPC in different projects to generate new addresses from a given silent payment address.

    Describe the solution you’d like

    getnewaddress could have a new argument for silent payment address and it should generate new address from it.

    Describe any alternatives you’ve considered

    • Get multiple addresses
    • Get XPUB

    Couldn’t find any libraries that could help in generating bitcoin addresses from silent payment address.

    Please leave any additional context

    This pull request could help in adding this RPC: https://github.com/bitcoin/bitcoin/pull/28201

  2. 1440000bytes added the label Feature on Nov 8, 2024
  3. achow101 commented at 6:21 pm on November 8, 2024: member
    Given that computing the actual output script in a transaction paying to a silent payments address requires knowing the exact inputs and having the private keys for those inputs, I don’t think this will really be possible in an ergonomic way, and any way to implement this is very footgun-y. The taproot address is entirely dependent on the inputs used so the receiver does not necessarily know that they have been paid if you just send to any taproot address computed from a silent payments address. This can potentially result in loss of funds.
  4. 1440000bytes closed this on Nov 8, 2024


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 06:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me