Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Update page.mdx #384

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions src/app/connect/quickstart/page.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# QuickStart

Learn how to add the Connect to your application, log in your users, and allow them to interact with your application.
Learn how to add Connect SDK to your application, log in your users, and allow them to interact with your application.

The following guide is in Typescript. You can also learn how to integrate Connect with our [Unity SDK](https://portal.thirdweb.com/unity/pay/getbuywithcryptoquote).

Expand All @@ -21,7 +21,7 @@ Log in to the [thirdweb dashboard](https://thirdweb.com/dashboard). Navigate to
```tsx
import { ThirdwebProvider, ConnectButton, createThirdwebClient } from "thirdweb/react";

const client = createThirdwebClient({ clientId: your_client_id });
const client = createThirdwebClient({ clientId: <your_client_id> });

export default function App() {
return (
Expand All @@ -34,7 +34,7 @@ export default function App() {

## Interact With A Wallet

Once your user has logged in, you can start getting information like balances and wallet addresses:
Once your user has logged in, interact with the application using different functions such as fetching balances and wallet addresses:

```tsx
import { useActiveAccount } from "thirdweb/react";
Expand All @@ -49,9 +49,11 @@ const balance = await getWalletBalance({
chain,
address: account.address,
});
console.log("wallet balaance", balance);
console.log("wallet balance", balance);
```

[View the full reference.](/typescript/v5)

## You’re Ready to web3

With Connect instantiated and your user logged in, you can now access all the powerful features your app needs to succeed!
With Connect instantiated and your user logged in, you can now access all the powerful features your app needs to succeed!
Loading