Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/base-account/basenames/basenames-faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Currently, only one address at a time can be linked to a Basename. However, we p

### 14. I am a builder. How do I integrate Basenames to my app?

If you're a builder looking to integrate Basenames into your app, [OnchainKit](https://onchainkit.xyz/wallet/wallet-dropdown-basename) is the easiest way to get started (tutorial [here](https://docs.base.org/identity/basenames/basenames-onchainkit-tutorial)). If you have ideas for new features or badges that you'd like to integrate with Basenames, we'd love to [hear from you](https://app.deform.cc/form/b9c1c39f-f238-459e-a765-5093ca638075/?page_number=0).
If you're a builder looking to integrate Basenames into your app, follow the [Basenames + Wagmi tutorial](/base-account/basenames/basenames-wagmi-tutorial) to get started. If you have ideas for new features or badges that you'd like to integrate with Basenames, we'd love to [hear from you](https://app.deform.cc/form/b9c1c39f-f238-459e-a765-5093ca638075/?page_number=0).

### 15. How do I get a Basename for my app or project?

Expand Down
91 changes: 0 additions & 91 deletions docs/base-account/basenames/basenames-onchainkit-tutorial.mdx

This file was deleted.

4 changes: 1 addition & 3 deletions docs/base-account/basenames/basenames-wagmi-tutorial.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ In your project folder, create the apis directory and add a basenames.tsx file:

<Note title="What's happening in the code?">
`convertReverseNodeToBytes()`: This function is creating the reverse node so we can look up a name given an address. Each address gets its own reverse record in our registry that's created in a deterministic way.
You can see the implementation of `convertReverseNodeToBytes()` in the [OnchainKit repo]
You can see the implementation of `convertReverseNodeToBytes()` on [GitHub](https://github.com/coinbase/onchainkit/blob/main/packages/onchainkit/src/identity/utils/convertReverseNodeToBytes.ts)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we even call this out since we are still redirecting to ock github

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. its a very direct answer (and location) to solve a problem vs having them search for it themselves in the repo.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should ask eng to create gist snippet repo in the future as to avoid linking to depreciated repo's imo

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay that might hold things up. so i'll delete this

`BasenameTextRecordKeys`: Metadata (e.g., github, twitter, etc.) are stored as text records so we can look them up based on the enum key.
</Note>

Expand Down Expand Up @@ -217,8 +217,6 @@ In this example, the Home component fetches Basename data and displays it in bot
Congratulations! You've successfully integrated Basenames into your project. By setting up the necessary ABI, configuring your wagmi project, and implementing custom functions to resolve and display Basenames, you've enhanced your app's user experience by making wallet addresses more user-friendly. Your users can now enjoy a personalized, recognizable onchain identity across the Base network. Keep exploring and building to unlock even more possibilities with Basenames!

[Basenames]: https://www.base.org/names/
[OnchainKit]: https://onchainkit.xyz/
[L2ResolverAbi]: https://gist.github.com/hughescoin/adf1c90b67cd9b2b913b984a2cc98de9
[basenames.tsx]: https://gist.github.com/hughescoin/95b680619d602782396fa954e981adae
[OnchainKit repo]: https://github.com/coinbase/onchainkit/blob/main/src/identity/utils/convertReverseNodeToBytes.ts

2 changes: 1 addition & 1 deletion docs/base-account/improve-ux/sub-accounts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { GithubRepoCard } from "/snippets/GithubRepoCard.mdx"

## What are Sub Accounts?

Sub Accounts allow you to provision app-specific wallet accounts for your users that are embedded directly in your application. Once created, you can interact with them just as you would with any other wallet via the wallet provider or popular onchain libraries like OnchainKit, wagmi, and viem.
Sub Accounts allow you to provision app-specific wallet accounts for your users that are embedded directly in your application. Once created, you can interact with them just as you would with any other wallet via the wallet provider or popular onchain libraries like wagmi and viem.

<Note>
Looking for a full implementation? Jump to the [Complete Integration Example](/base-account/improve-ux/sub-accounts#complete-integration-example).
Expand Down
1 change: 0 additions & 1 deletion docs/base-account/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ const { status } = await getPaymentStatus({ id })
### Basenames
- [FAQ](https://docs.base.org/base-account/basenames/basenames-faq.md)
- [Transfer](https://docs.base.org/base-account/basenames/basename-transfer.md)
- [OnchainKit Tutorial](https://docs.base.org/base-account/basenames/basenames-onchainkit-tutorial.md)
- [Wagmi Tutorial](https://docs.base.org/base-account/basenames/basenames-wagmi-tutorial.md)

### Contribute
Expand Down
8 changes: 8 additions & 0 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1104,6 +1104,14 @@
]
},
"redirects": [
{
"source": "/basenames/basenames-onchainkit-tutorial",
"destination": "/base-account/basenames/basenames-wagmi-tutorial"
},
{
"source": "/identity/basenames/basenames-onchainkit-tutorial",
"destination": "/base-account/basenames/basenames-wagmi-tutorial"
},
{
"source": "/base-chain/quickstart/bridge-token",
"destination": "/base-chain/network-information/bridges"
Expand Down