Skip to content

Commit

Permalink
Merge pull request #223 from bob-collective/derrek/docs-update-snap
Browse files Browse the repository at this point in the history
Remove mentions of Flask from Snap page
  • Loading branch information
nud3l authored Apr 30, 2024
2 parents e7f2761 + f6102ff commit ba78d60
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 32 deletions.
17 changes: 1 addition & 16 deletions docs/docs/build/bob-sdk/metamask-snap.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_label: BOB Bitcoin MetaMask Snap

# BOB Bitcoin MetaMask Snap

MetaMask Snaps allow us to add features and functionality to the standard MetaMask wallet.
MetaMask Snaps allow us to add features and functionality to the standard MetaMask wallet.
The BOB Bitcoin Snap is a MetaMask Snap that allows you to use MetaMask to interact with Bitcoin on the BOB network.

## Features
Expand All @@ -25,21 +25,6 @@ Take a look at the [BTC Snap source code](https://github.com/bob-collective/btcs

:::

## MetaMask Flask

:::info MetaMask Flask

The BOB MetaMask Snap is currently under review for official listing by MetaMask. Until then, the Snap is available as an unlisted Snap.

Unlisted [MetaMask Snaps](https://metamask.io/snaps/) can only be used with [MetaMask Flask](https://metamask.io/flask/). MetaMask Snaps are not currently supported on mobile wallets, and will only run in the desktop version of Chrome or Firefox.

:::


## Create a Test Profile

You will need to create a new browser profile to use with the MetaMask Flask extension, as having MetaMask and MetaMask Flask installed in the same browser profile can cause issues.

## Usage

### Connecting to the BOB BTC Snap
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/build/examples/btc-swap/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ The faucet is configured to mint 30,000 tokens for each currency. If you want to

If you want to try swapping ordinals, you will need to inscribe them first. There are many ways to do so, such as:

- [Metamask Ordinals Demo](https://ordinals.gobob.xyz/): in-house developed demo which uses the BOB MetaMask Snap to inscribe ordinals (requires MetaMask Flask).
- [Metamask Ordinals Demo](https://ordinals.gobob.xyz/): in-house developed demo which uses the BOB MetaMask Snap to inscribe ordinals.
- [Testnet Unisat](https://testnet.unisat.io/inscribe): to use this Dapp you will need a UniSat wallet.

:::tip
Expand Down
10 changes: 4 additions & 6 deletions docs/docs/build/examples/metamask-ordinals/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,21 @@ You can find the code for this example on [our GitHub repository](https://github

We have created a testnet demo of the application at [https://ordinals.gobob.xyz](https://ordinals.gobob.xyz), allowing anyone to inscribe, view and transfer ordinals, and transfer BTC.

:::info MetaMask Flask
:::info MetaMask Snap

This demo uses [MetaMask Snaps](https://metamask.io/snaps/) and can only be used with [MetaMask Flask](https://metamask.io/flask/). MetaMask Snaps are not currently supported on mobile wallets, so this demo will only run in the desktop version of Chrome or Firefox.
This demo uses [MetaMask Snaps](https://metamask.io/snaps/). MetaMask Snaps are not currently supported on mobile wallets, so this demo will only run in the desktop version of Chrome or Firefox.

:::

### Creating a test profile

To use this demo, you will need to create a new browser profile to use with the MetaMask Flask extension, as having MetaMask and MetaMask Flask installed in the same browser profile can cause issues.

We recommend creating two test profiles so that you can test transferring Ordinals and BTC between two accounts.

### Installing the MetaMask Snap

Once you have installed MetaMask Flask, click the 'Connect Wallet' button on [https://ordinals.gobob.xyz](https://ordinals.gobob.xyz). MetaMask will prompt you to install the Snap, and give it permissions.
Click the 'Connect Wallet' button on [https://ordinals.gobob.xyz](https://ordinals.gobob.xyz). MetaMask will prompt you to install the Snap, and give it permissions.

Take note that your BTC wallet in the Snap derives its private keys from the MetaMask's seed phrase.
Take note that your BTC wallet in the Snap derives its private keys from your MetaMask wallet's seed phrase.

### Funding your account

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/build/examples/unified-assets-tracker/index.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Unified EVM and Bitcoin Assets with the MetaMask Bitcoin Snap Extension

:::info MetaMask Flask
:::info MetaMask Snap

This demo uses [MetaMask Snaps](https://metamask.io/snaps/) and can only be used with [MetaMask Flask](https://metamask.io/flask/). MetaMask Snaps are not currently supported on mobile wallets, so this demo will only run in the desktop version of Chrome or Firefox.
This demo uses [MetaMask Snaps](https://metamask.io/snaps/). MetaMask Snaps are not currently supported on mobile wallets, so this demo will only run in the desktop version of Chrome or Firefox.

:::

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/build/how-to/ordinals.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Inscriptions are created using taproot script. That means you have to use a P2TR

### Wallets that support taproot addresses

#### BOB MetaMask Snap (Browser, MetaMask flask only)
#### BOB MetaMask Snap (Browser only)

You can use the [BOB MetaMask Snap](https://github.com/bob-collective/btcsnap) with [MetaMask flask](https://metamask.io/flask/).
You can use the [BOB MetaMask Snap](https://github.com/bob-collective/btcsnap) with [MetaMask](https://metamask.io/).

:::tip Live Demo

Expand Down
6 changes: 1 addition & 5 deletions docs/docs/build/tools/wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ Wallets that can be used for both Bitcoin and BOB.

### MetaMask with Snaps

#### [MetaMask with BOB Bitcoin Snap](https://snaps.metamask.io/snap/npm/bobflask/)

:::info MetaMask Flask
This wallet requires [MetaMask Flask](https://metamask.io/flask/).
:::
#### [MetaMask with BOB Bitcoin Snap](https://snaps.metamask.io/snap/npm/gobob/bob-snap/)

- Type: Browser
- Features: Bitcoin, Ordinals, EVM
Expand Down

0 comments on commit ba78d60

Please sign in to comment.