Skip to content

Commit

Permalink
editorial fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliotFriend committed Dec 11, 2024
1 parent 28ab449 commit 906a6f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/build/apps/guestbook/README.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Create a Passkey Powered Guestbook Dapp
title: Build a Passkey Powered Guestbook Dapp
sidebar_position: 57
---

Expand Down
4 changes: 2 additions & 2 deletions docs/build/apps/guestbook/frontend.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@ With those three functions, our dapp is ready for users to authenticate with the

### The "profile menu"

Still in our `connectButtons.svelte` component, we also have a collection of buttons and functions that represent a "profile menu" of sorts. The user can use these buttons to view their smart wallet balance, see it on Stellar Expert, send a donation to our (humble) guestbook maintainer, request more (Testnet) funding, etc. Much of this is unnecessary to dive into here in this tutorial, though I highly recommend taking a look at the [source code](https://github.com/ElliotFriend/ye-olde-guestbook/blob/main/src/lib/components/ConnectButtons.svelte) to get a better understanding of this functionality.
Still in our `connectButtons.svelte` component, we also have a collection of buttons and functions that represent a "profile menu" of sorts. The user can use these buttons to view their smart wallet balance, see it on [Stellar Expert](https://stellar.expert), send a donation to our (humble) guestbook maintainer, request more (Testnet) funding, etc. Much of this is unnecessary to dive into here in this tutorial, though I highly recommend taking a look at the [source code](https://github.com/ElliotFriend/ye-olde-guestbook/blob/main/src/lib/components/ConnectButtons.svelte) to get a better understanding of this functionality.

However, we will look into the `donate` function here. This is a really useful example of how a dapp can enable their smart wallet users to interact with any asset on the Stellar network. (Here, we are using [Testnet] XLM for our asset, but the flow would be identical for _any_ asset you may want to use.)
However, we will look into the `donate` function here. This is a really useful example of how a dapp can enable their smart wallet users to interact with any asset on the Stellar network. (Here, we are using Testnet XLM for our asset, but the flow would be identical for _any_ asset you may want to use.)

The button is still pretty simple, just like the authentication buttons. We are adding some "loading" logic for when the transaction is taking place, though. So, it's got a _few_ more bells and whistles.

Expand Down

0 comments on commit 906a6f3

Please sign in to comment.