Skip to content

Commit e0cd5b8

Browse files
authored
Remove OnchainKit and MiniKit references from base-account docs (#1205)
* Remove OnchainKit and MiniKit references from base-account docs * fix reference link for basenames conversion
1 parent cfe7ac4 commit e0cd5b8

6 files changed

Lines changed: 11 additions & 97 deletions

File tree

docs/base-account/basenames/basenames-faq.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Currently, only one address at a time can be linked to a Basename. However, we p
107107

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

110-
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).
110+
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).
111111

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

docs/base-account/basenames/basenames-onchainkit-tutorial.mdx

Lines changed: 0 additions & 91 deletions
This file was deleted.

docs/base-account/basenames/basenames-wagmi-tutorial.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ In your project folder, create the apis directory and add a basenames.tsx file:
8686

8787
<Note title="What's happening in the code?">
8888
`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.
89-
You can see the implementation of `convertReverseNodeToBytes()` in the [OnchainKit repo]
89+
You can see the implementation of `convertReverseNodeToBytes()` on [GitHub](https://github.com/coinbase/onchainkit/blob/main/packages/onchainkit/src/identity/utils/convertReverseNodeToBytes.ts)
9090
`BasenameTextRecordKeys`: Metadata (e.g., github, twitter, etc.) are stored as text records so we can look them up based on the enum key.
9191
</Note>
9292

@@ -217,8 +217,6 @@ In this example, the Home component fetches Basename data and displays it in bot
217217
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!
218218

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

docs/base-account/improve-ux/sub-accounts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { GithubRepoCard } from "/snippets/GithubRepoCard.mdx"
77

88
## What are Sub Accounts?
99

10-
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.
10+
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.
1111

1212
<Note>
1313
Looking for a full implementation? Jump to the [Complete Integration Example](/base-account/improve-ux/sub-accounts#complete-integration-example).

docs/base-account/llms-full.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ const { status } = await getPaymentStatus({ id })
7272
### Basenames
7373
- [FAQ](https://docs.base.org/base-account/basenames/basenames-faq.md)
7474
- [Transfer](https://docs.base.org/base-account/basenames/basename-transfer.md)
75-
- [OnchainKit Tutorial](https://docs.base.org/base-account/basenames/basenames-onchainkit-tutorial.md)
7675
- [Wagmi Tutorial](https://docs.base.org/base-account/basenames/basenames-wagmi-tutorial.md)
7776

7877
### Contribute

docs/docs.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1104,6 +1104,14 @@
11041104
]
11051105
},
11061106
"redirects": [
1107+
{
1108+
"source": "/basenames/basenames-onchainkit-tutorial",
1109+
"destination": "/base-account/basenames/basenames-wagmi-tutorial"
1110+
},
1111+
{
1112+
"source": "/identity/basenames/basenames-onchainkit-tutorial",
1113+
"destination": "/base-account/basenames/basenames-wagmi-tutorial"
1114+
},
11071115
{
11081116
"source": "/base-chain/quickstart/bridge-token",
11091117
"destination": "/base-chain/network-information/bridges"

0 commit comments

Comments
 (0)