-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #296 from bob-collective/derrek/docs-bob-pay
Add BOB Pay page and assets
- Loading branch information
Showing
18 changed files
with
120 additions
and
11 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
position: 5 | ||
collapsible: true | ||
collapsed: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# BOB Pay | ||
|
||
## What is BOB Pay? | ||
|
||
[BOB Pay](https://bob-pay.gobob.xyz/) aims to showcase how easy crypto UX can be by focusing on a simple use case popular within the Bitcoin ecosystem: payments. | ||
|
||
With BOB Pay, you can send Bitcoin and stablecoins to someone's email address. No wallet, no app, no seed phrase - just simple, cheap, non-custodial, and lightning-fast payments. BOB Pay showcases the power of wallet abstraction with [Dynamic](https://www.dynamic.xyz/), smart accounts from [ZeroDev](https://zerodev.app/), and paymasters from [Pimlico](https://www.pimlico.io/). | ||
|
||
We’re offering projects on BOB free access to Dynamic and Pimlico if you’d like to do the same. | ||
|
||
## Video Tutorial | ||
|
||
<iframe width="560" height="315" src="https://www.youtube.com/embed/X7jqXHkOWUM" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> | ||
|
||
## High-Level Technical Summary | ||
|
||
1. Alice logs into [BOB Pay](https://pay.gobob.xyz) and sends WBTC to John's email address. | ||
2. [Dynamic generates](https://docs.dynamic.xyz/wallets/embedded-wallets/create-wallets/overview#during-signup-automatic) a deterministic [ZeroDev smart account wallet](https://docs.dynamic.xyz/account-abstraction/aa-providers/zerodev) for John on BOB. | ||
3. John claims their WBTC by [sending their first transaction](https://docs.dynamic.xyz/wallets/embedded-wallets/pregenerated-wallets#after-signup) to Charlie. The transaction fees are paid to a [Paymaster](https://docs.pimlico.io/infra/paymaster/erc20-paymaster) in WBTC so John can transact without holding any ETH. | ||
4. A [guarantor from Pimlico sponsors John's first transaction fees](https://docs.pimlico.io/infra/paymaster/erc20-paymaster/architecture#eoa-guarantor-signature), then claims back the funds after John's first transaction. This solves the problem of John needing ETH to approve the Paymaster's access to their WBTC. | ||
|
||
## Step-by-Step Guides | ||
|
||
### Sending Bitcoin from a wallet to an Email Address | ||
|
||
1. Open the [BOB Pay website](https://pay.gobob.xyz). | ||
|
||
2. Sign in with your wallet. | ||
|
||
![Log in screen](./1-log-in.png) | ||
|
||
3. Sign to prove you own your wallet. You can toggle this security step off if you like. | ||
|
||
![Sign in](./3-sign-in.png) | ||
|
||
4. Click Send. | ||
|
||
![Click send](./6-after-sign-in.png) | ||
|
||
5. Enter the email address and amount of Bitcoin to transfer, then click Send. | ||
|
||
![Enter information](./7b-Send-filled-out.png) | ||
|
||
6. After signing the transaction, the transfer is complete. | ||
|
||
![Success message](./8-Send-success-toast.png) | ||
|
||
### Sending Bitcoin from an Email Address to a Wallet | ||
|
||
1. Open the [BOB Pay website](https://pay.gobob.xyz). | ||
|
||
2. Enter your email address. | ||
|
||
![Log in with email](./9-Receiver-log-in.png) | ||
|
||
3. Enter the six-digit verification code sent to your email. | ||
|
||
![Verification code](./10-Receiver-verification-prompt.png) | ||
|
||
4. Click Send. | ||
|
||
![Click send](./12-Receiver-after-sign-in.png) | ||
|
||
5. Enter the recipient's wallet address and the amount of Bitcoin you would like to transfer, then click Send. | ||
|
||
![Enter information](./14-Receiver-sends-back.png) | ||
|
||
6. Click Sign. | ||
|
||
![Sign transaction](./15-sign-in-browser.png) | ||
|
||
7. The transfer is complete. | ||
|
||
![Success message](./16-success-without-gas.png) | ||
|
||
### Receiving Bitcoin or Stablecoins from Someone Else | ||
|
||
1. Open the [BOB Pay website](https://pay.gobob.xyz). | ||
|
||
2. Enter your email address and click Continue. You can also sign in with your wallet. | ||
|
||
![Log in with email](./9-Receiver-log-in.png) | ||
|
||
3. Enter the six-digit verification code sent to your email. | ||
|
||
![Verification code](./10-Receiver-verification-prompt.png) | ||
|
||
4. Click Receive. | ||
|
||
![Click receive](./12-Receiver-after-sign-in.png) | ||
|
||
5. Scan this QR code from the device that will send you tokens. This will open the BOB Pay website with your address already filled in for the sender. Alternatively, click Copy Address then send your address to the sender in a messaging app or email. | ||
|
||
![QR code](./13-How-to-Receive.png) | ||
|
||
6. The sender can follow the rest of the steps in [the guide above](#sending-bitcoin-from-a-wallet-to-an-email-address) to finish sending you tokens. | ||
|
||
## Conclusion | ||
|
||
BOB offers a complete package for builders looking to bring world-class UX to Bitcoin. We’re offering projects on BOB free access to Dynamic and Pimlico if you’d like to do the same. | ||
|
||
[Reach out to us](../../../learn/introduction/contribution.md) with questions, feedback, or ideas. We look forward to seeing what you Build on Bitcoin! | ||
|
||
## Code References | ||
|
||
- [BOB Pay](https://github.com/bob-collective/ui/pull/57/files) front-end and back-end code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
position: 6 | ||
position: 7 | ||
label: "FAQs" | ||
--- | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
sidebar_position: 5 | ||
sidebar_position: 6 | ||
sidebar_label: "Testing BOB" | ||
--- | ||
|
||
|