hirosystems / stacks.js

JavaScript libraries for identity, auth, storage and transactions on the Stacks blockchain.
https://stacks.js.org
MIT License
949 stars 309 forks source link

Feature Request: Generate Bitcoin Address in wallet-sdk #1651

Open dantrevino opened 6 months ago

dantrevino commented 6 months ago

Problem

Given the upcoming sBTC upgrade, it would be useful for wallet developers to have a simple way to create associated bitcoin addresses as well.

Solution

The existing Leather wallet p2tr, p2wpkh can be added to the existing account generation.

Additional context