BitcoinSnap is the world's first application allowing users to directly manage Bitcoin within the MetaMask interface, without having to wrap tokens. Since Snaps is pre-release software, the alpha version of BitcoinSnap is currently live on Metamask Flask only, a canary distribution for developers that provides access to upcoming features.
*Note: MetaMask Flask is an experimental playground for developers and is not to be confused with the normal MetaMask wallet app.
Snaps is a system that allows developers to safely build and expand the capabilities of MetaMask. It is a program that is run in an isolated environment with a limited set of capabilities, that can customize and modify MetaMask's wallet experience for end users. For example, a snap can add new APIs to MetaMask thus adding support for different blockchains or modify existing functionalities using internal APIs.
Additional information can be found here.
If you would like to integrate BitcoinSnap into your dapp, you can make use of our npm. Refer to the following document here.
- Create a new browser profile or disable/uninstall any existing versions of Metamask
- Download MetaMask Flask
- Head over to the BitcoinSnap webpage, create a test wallet, connect it to MetMask Flask and approve the installation of the BitcoinSnap app
- Ensure you're connected to the 'Testnet' version of the app via settings
- Request for some testnet Bitcoin via Coinfaucet or Bitcoinfaucet and start experimenting
Check out this video to see how BitcoinSnap works.
*Note: MetaMask Flask is an experimental playground for developers and is not to be confused with the normal MetaMask wallet app. Running multiple instances of MetaMask in the same browser profile will break all dapp interaction.
Navigate to the example
folder under packages
, launch our app locally by running:
yarn install && yarn start
This project is dual-licensed under Apache 2.0 and MIT terms: