Skip to content

Releases: MetaMask/snap-bitcoin-wallet

0.9.0

08 Jan 20:28
71e54dc

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

Changed

  • Bump @metamask/keyring-api from ^9.0.0 to ^13.0.0 (#364)
    • This version provides a new modules layout and adds support for the new mandatory scopes field for KeyringAccount.

@metamask/bitcoin-wallet-snap

Added

  • Add localized messages (#348)
  • Add basic Sats protection support (#337), (#284), (#349)
    • Using SimpleHash service.

Changed

  • BREAKING: Provide scopes field to KeyringAccount during account creation (#364)
    • Bump @metamask/keyring-api from ^8.1.3 to ^13.0.0.
    • Compatible with @metamask/eth-snap-keyring@^7.1.0.
  • Support for fee rate caching (#358)
  • Use Snap UI update context instead of persisting request (#345)
    • Making the Snap UI slighty more responsive and faster.
  • Remove support of Blockchair service (#298)

Fixed

0.8.2

28 Oct 19:54

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

@metamask/bitcoin-wallet-snap

Fixed

  • Remove localhost from permissions (#324), (#322)

0.8.1

17 Oct 16:43
165c28a

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

@metamask/bitcoin-wallet-snap

Fixed

  • Use hideSnapBranding flag when building (#312)

0.8.0

17 Oct 15:32
6412cc3

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

Changed

  • BREAKING: Rename btc_sendmany method to sendBitcoin (#303)

@metamask/bitcoin-wallet-snap

Added

  • Add send flow UI (#281), (#309), (#308), (#305), (#304), (#289)
    • The send flow can be started using the startSendTransactionFlow internal method.
    • The UI allows to send an amount to one recipient (according to its balance).
    • There is a confirmation screen that summarize everything regarding the transaction (amount, recipient, fee estimation), once confirmed the transaction will be broadcasted to the blockchain.
    • Calling the sendBitcoin account's method will trigger the confirmation screen too.

Changed

  • BREAKING: Rename btc_sendmany method to sendBitcoin (#303)
    • The comment and subtractFeeFrom options have been removed too.
  • BREAKING: Make transactions replaceable by default (#297)
  • Rename proposed name to "Bitcoin" (was "Bitcoin Manager") (#283)
  • Adds fee estimation fallback for QuickNode (#269)
    • In some cases, QuickNode may fail to process fee estimation. In such instances, we fall back on using fee information directly from the mempool.
    • We also added a default minimum fee as the last resort in case everything else failed.

0.7.0

07 Oct 13:07
4ace9f4

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

@metamask/bitcoin-wallet-snap

Changed

  • Use QuickNode as the main provider (#250)
  • Workaround QuickNode fee estimation for testnet (#267)
    • We temporarily changed the confirmation target block to a higher block number to make sure the API is not failing with an error.

Fixed

  • Fix fee estimation with QuickNode (#266), (#261)
    • Properly uses kvB instead of vB.
    • Will NOT throw an error if the account has not enough UTXOs when estimating the fees.

0.6.1

26 Sep 16:18
79be27f

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

Changed

  • Bump @metamask/keyring-api from ^8.0.2 to ^8.1.3 (#253)
    • This version is now built slightly differently and is part of the accounts monorepo.

@metamask/bitcoin-wallet-snap

Added

  • Add QuickNode API client (#247)
    • This client is not yet used, we still use Blockchair provider for the moment.

Changed

  • Bump @metamask/keyring-api from ^8.0.2 to ^8.1.3 (#253)
    • This version is now built slightly differently and is part of the accounts monorepo.

0.6.0

13 Sep 15:18
85177e8

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

@metamask/bitcoin-wallet-snap

Added

  • Display an alert dialog when an error happens during btc_sendmany (#236)

Changed

  • Use similar shorten-address format than the extension (#238)

0.5.0

28 Aug 08:28
354d042

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

Added

  • Add getMaxSpendableBalance RPC endpoint (#188)

@metamask/bitcoin-wallet-snap

Added

  • Add getMaxSpendableBalance RPC endpoint (#188)

Changed

  • Improve keyring tests coverage (#220)

0.4.0

30 Jul 15:39
59f6af8

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

@metamask/bitcoin-wallet-snap

Added

  • Emit account suggested name when creating account (#210)
    • This name suggestion can then be used by the client to name the account accordingly.

Changed

  • Audit 4.6: Pin Bitcoin and cryptographic dependencies (#205)

0.3.0

26 Jul 15:57
2fb6077

Choose a tag to compare

@metamask/bitcoin-wallet-test-dapp

Added

  • Add estimateFee card (#169)

@metamask/bitcoin-wallet-snap

Added

  • Add estimateFee RPC endpoint (#169)