leather-io / extension

Leather browser extension
https://leather.io
MIT License
294 stars 141 forks source link

Include Taproot address(es) in userData during authentication #3387

Closed markmhendrickson closed 1 year ago

markmhendrickson commented 1 year ago

To complement the return of the Native SegWit address in the same object per https://github.com/hirosystems/stacks-wallet-web/pull/3247

Perhaps as:

{
  btcAddress: {
    p2tr: {
      mainnet: "bc1p8rwmsmm782e7vfae2l2ssplwemqrfa7e3qz56yhfw59tknjx75cs8vlxt2",
      testnet: "tb1pfsm8ku24w9u2aewve23dn3lk4hanc25p7dh8zhcqpfutr5ms38es3653g4"
    }
  }
}
kyranjamie commented 1 year ago

This is an alternate of https://github.com/hirosystems/stacks-wallet-web/issues/3372

markmhendrickson commented 1 year ago

@kyranjamie does the above schema in the description look appropriate to mirror the one for Native SegWit?